Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing from Oracle JDK to OpenJDK #173

Merged
merged 7 commits into from
Apr 30, 2019
Merged

Changing from Oracle JDK to OpenJDK #173

merged 7 commits into from
Apr 30, 2019

Conversation

LuisGi93
Copy link
Contributor

@LuisGi93 LuisGi93 commented Apr 24, 2019

Hi team,
this PR closes #172 . Now OpenJDK is used instead of Oracle JDK.

[vagrant@localhost ~]$ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[vagrant@localhost ~]$ sudo systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/elasticsearch.service.d
           └─elasticsearch.conf
   Active: active (running) since Wed 2019-04-24 11:12:49 UTC; 30min ago
     Docs: http://www.elastic.co
 Main PID: 8123 (java)
   CGroup: /system.slice/elasticsearch.service
           ├─8123 /bin/java -Xms2362m -Xmx2362m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfi...
           └─8260 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller

Apr 24 11:12:49 localhost.localdomain systemd[1]: Started Elasticsearch.
[vagrant@localhost ~]$ sudo systemctl status kibana
● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-04-24 11:13:09 UTC; 29min ago
 Main PID: 8421 (node)
   CGroup: /system.slice/kibana.service
           └─8421 /usr/share/kibana/bin/../node/bin/node --no-warnings --max-http-header-size=65536 /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

Apr 24 11:39:20 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:39:20Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:39:47 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:39:47Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:40:09 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:40:09Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:40:28 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:40:28Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:40:49 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:40:49Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:41:23 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:41:23Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:41:43 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:41:43Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:42:10 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:42:10Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:42:33 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:42:33Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Apr 24 11:42:49 localhost.localdomain kibana[8421]: {"type":"response","@timestamp":"2019-04-24T11:42:49Z","tags":[],"pid":8421,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msear...11; Ubuntu; L
Hint: Some lines were ellipsized, use -l to show in full.

@LuisGi93 LuisGi93 changed the title Changing CentOS install from Oracle JDK to OpenJDK Changing from Oracle JDK to OpenJDK Apr 24, 2019
@LuisGi93 LuisGi93 marked this pull request as ready for review April 25, 2019 11:45
@manuasir manuasir requested review from manuasir and jm404 April 29, 2019 14:00
@manuasir manuasir added this to To Review in Wazuh 3.9.x via automation Apr 29, 2019
@dj-wasabi
Copy link
Contributor

Sorry @LuisGi93 , but my PR caused some issues for you with this PR. Are you able to fix them so we can get this PR merged? I encounter this issue while making Molecule tests for the Elasticsearch roles. 😄

Thanks! 👍

@manuasir
Copy link
Contributor

Hi @dj-wasabi ,

We're currently taking rid of this. Thanks for your warning.

Copy link
Contributor

@manuasir manuasir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@manuasir manuasir merged commit 6034857 into 3.9 Apr 30, 2019
Wazuh 3.9.x automation moved this from To Review to Done Apr 30, 2019
@manuasir manuasir deleted the 3.9-issue_172-fix branch April 30, 2019 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Wazuh 3.9.x
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants