You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abnormal execution:Es-YARN.jar is not set and could not be detected...
java.lang.IllegalArgumentException: Es-YARN.jar is not set and could not be detected...
at org.elasticsearch.hadoop.yarn.util.Assert.hasText(Assert.java:29)
at org.elasticsearch.hadoop.yarn.cfg.Config.downloadedEsYarn(Config.java:168)
at org.elasticsearch.hadoop.yarn.cli.YarnBootstrap.installEsYarn(YarnBootstrap.java:126)
at org.elasticsearch.hadoop.yarn.cli.YarnBootstrap.run(YarnBootstrap.java:91)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.elasticsearch.hadoop.yarn.cli.YarnBootstrap.main(YarnBootstrap.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
The text was updated successfully, but these errors were encountered:
Could you be a bit more specific?
The exception above occurs due to a misconfiguration on your part. See the usage chapter.
If you think that is not the case, then please provide some background, what are you trying to achieve, what are your expectations, what fails, etc... as described here.
My guessing capability only goes so far...
I am trying to install ElasticSearch-YARN
I was not able to install by specifying
sudo -u hdfs hadoop jar elasticsearch-yarn-2.1.0.Beta3.jar -install
I had to solve this by manually specifying the property like below
sudo -u hdfs hadoop jar elasticsearch-yarn-2.1.0.Beta3.jar -install internal.es.yarn.file=elasticsearch-yarn-2.1.0.Beta3.jar
it worked when i executed the above command .
when i checked for internal.es.yarn.file configuration in cfg/cfg.properties , i couldnt find it.
I am not sure if this is the intended behaviour.
Let me know if you need any other details
I think your usage of sudo might be interfering with the execution. Just tried Beta3 and SNAPSHOT on two new hadoop VMs and they work fine.
[cloudera@quickstart yarn-test]$ sudo hadoop jar elasticsearch-yarn-2.1.0.BUILD-SNAPSHOT.jar -install
Uploaded /tmp/yarn-test/elasticsearch-yarn-2.1.0.BUILD-SNAPSHOT.jar to HDFS at hdfs://quickstart.cloudera:8020/apps/elasticsearch/elasticsearch-yarn-2.1.0.BUILD-SNAPSHOT.jar
[cloudera@quickstart yarn-test]$ sudo hadoop jar elasticsearch-yarn-2.1.0.BUILD-SNAPSHOT.jar -install-es es.version=1.5.0
Uploaded /tmp/yarn-test/./downloads/elasticsearch-1.5.0.zip to HDFS at hdfs://quickstart.cloudera:8020/apps/elasticsearch/elasticsearch-1.5.0.zip
Abnormal execution:Es-YARN.jar is not set and could not be detected...
java.lang.IllegalArgumentException: Es-YARN.jar is not set and could not be detected...
at org.elasticsearch.hadoop.yarn.util.Assert.hasText(Assert.java:29)
at org.elasticsearch.hadoop.yarn.cfg.Config.downloadedEsYarn(Config.java:168)
at org.elasticsearch.hadoop.yarn.cli.YarnBootstrap.installEsYarn(YarnBootstrap.java:126)
at org.elasticsearch.hadoop.yarn.cli.YarnBootstrap.run(YarnBootstrap.java:91)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.elasticsearch.hadoop.yarn.cli.YarnBootstrap.main(YarnBootstrap.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
The text was updated successfully, but these errors were encountered: