Debugging Hadoop is ... tricky. Most likely the parameter you are passing (es.version) is incorrect - there's no such Elasticsearch version.
2.1.0.Beta3 is the connector, es-hadoop version. es.version indicates the 
version of Elasticsearch itself.

My advice is to first start with basic steps and defaults as described in the 
docs [1].

As for the debug part itself, you have to look into your node/cluster logs, in particular the yarn/node ones to see the underlying container exception. Whatever message/exception is thrown by the underlying container, it does not bubble up (it is always wrapped by YARN itself) and thus one has to manually
track it down...

[1] http://www.elastic.co/guide/en/elasticsearch/hadoop/2.1.Beta/ey-usage.html

On 3/31/15 5:50 PM, stéphane Verdy wrote:
Hi all,

    HDFS 2.6.0.2.2.0.0 Apache Hadoop Distributed File System
    Es-Hadoop : 2.1.0.Beta3
    OS : Centos 6

    When i start elasticsearch (hadoop jar elasticsearch-yarn-2.1.0.Beta3.jar 
-start es.version=2.1.0.Beta3), the
process end FINISHED/FAILED and the only log i found is :

2015-03-31 13:29:57,792 INFO  nodemanager.ContainerExecutor 
(ContainerExecutor.java:logOutput(283)) - at
java.lang.Thread.run(Thread.java:744)
2015-03-31 13:29:57,793 WARN  launcher.ContainerLaunch 
(ContainerLaunch.java:call(338)) - Container exited with a
non-zero exit code 127

    No ERROR log only WARN...
       Can'i set the logger in DEBUG mode (how) ?
       Are there any other log files ?

   Thank
   Stephane

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to
elasticsearch+unsubscr...@googlegroups.com 
<mailto:elasticsearch+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/82bea02f-7356-4bab-8895-00b26842352a%40googlegroups.com
<https://groups.google.com/d/msgid/elasticsearch/82bea02f-7356-4bab-8895-00b26842352a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/551AB786.1040107%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to