We are not using maven but we have included all the dependencies. But still getting error ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
We are getting this exception in elasticsearch5 how to fix this issue ?
We have already tried but no luck ...
Exception in thread "main" NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{G3cU-l9lQhO9ZFJhEvkrEA}{127.0.0.1}{127.0.0.1:9300}]]
It seems that elatic search instance you started did not start with the default transport client i.e 9300 set in the elasticsearch.yml file having the value transport client set to 9300.
Check your transport client port which appears when you start the elastic search and copy that port to the transportclient variable in the elasticsearch.yml file.
This might solve your problem and then re-start your elastic search and check that the port you mentioned is the same as the transport client value when elasticsearch starts.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.