Monday, January 12, 2015

Kibana: This version of Kibana requires Elasticsearch 1.4.0 or higher on all nodes. I found the following incompatible nodes in your cluster: Elasticsearch 1.1.1 @ inet[/10.0.2.15:9301] (172.16.255.250)

If your Kibana 4.0 complains with your elasticsearch version 1.1.1. Even though you has install elasticsearch 1.4.2.  It's because an elasticsearch running embedded in logstash 1.4.2 (under vendor/jar/elasticearch-1.1.1). You should disable it if you install another elasticsearch 1.4.2 on the same or a different node.

This is a way to verify it (as follow)

root@node1:~# netstat -plant | grep 9300
tcp        0      0 0.0.0.0:9300            0.0.0.0:*               LISTEN      18907/java
tcp        0      0 10.0.2.15:48597         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48598         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48602         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48605         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48602         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48599         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48638         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48639         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48628         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48601         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48595         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48604         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48633         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48595         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48593         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48598         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48596         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48593         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48596         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48635         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48594         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48631         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48600         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48632         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48597         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48627         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48629         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48605         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48637         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48630         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48636         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48604         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48601         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48603         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48599         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48594         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:9300          10.0.2.15:48634         ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48600         10.0.2.15:9300          ESTABLISHED 18907/java
tcp        0      0 10.0.2.15:48603         10.0.2.15:9300          ESTABLISHED 18907/java
tcp6       0      0 10.0.2.15:48639         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48636         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48634         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48633         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48637         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48631         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48628         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48629         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48632         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48627         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48630         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48635         10.0.2.15:9300          ESTABLISHED 15288/java
tcp6       0      0 10.0.2.15:48638         10.0.2.15:9300          ESTABLISHED 15288/java



root@node1:~# ps wwwp 18907
  PID TTY      STAT   TIME COMMAND
18907 ?        SLl    0:30 /usr/bin/java -server -Djava.net.preferIPv4Stack=true -Des.config=/usr/local/etc/elasticsearch/elasticsearch.yml -Xms1201m -Xmx1201m -Xss256k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.pidfile=/usr/local/var/run/node1.pid -Des.foreground=yes -Des.path.home=/usr/local/elasticsearch -cp :/usr/local/elasticsearch/lib/*:/usr/local/elasticsearch/lib/sigar/* org.elasticsearch.bootstrap.Elasticsearch


root@node1:~# ps wwwp 15288
  PID TTY      STAT   TIME COMMAND
15288 ?        Sl     1:41 /usr/bin/java -server -Xms400M -Xmx1201M -Djava.io.tmpdir=/opt/logstash/server/tmp/ -Xmx500m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Djava.awt.headless=true -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -jar /opt/logstash/server/vendor/jar/jruby-complete-1.7.11.jar -I/opt/logstash/server/lib /opt/logstash/server/lib/logstash/runner.rb agent -f /opt/logstash/server/etc/conf.d --pluginpath /opt/logstash/server/lib -l /opt/logstash/server/log/logstash.log -w 1

No comments:

Post a Comment