Hello,

Sorry to reopen this topic. I had setup yarn couple of months ago and cant
seem to replicate this now.

I see that I have done everything listed here
http://samza.apache.org/learn/tutorials/0.7.0/run-in-multi-node-yarn.html

I see this error on the application side

Application application_1426115467623_0492 failed 2 times due to AM
Container for appattempt_1426115467623_0492_000002 exited with exitCode:
-1000 due to: java.lang.ClassNotFoundException: Class
org.apache.samza.util.hadoop.HttpFileSystem not found
.Failing this attempt.. Failing the application.

I see that

/home/hadoop/hadoop-2.5.2/share/hadoop/hdfs/lib/samza-yarn_2.10-0.8.0.jar
has that particular class

  1739 Tue Nov 25 10:51:40 PST 2014
org/apache/samza/util/hadoop/HttpFileSystem$$anonfun$getFileStatus$1.class

  1570 Tue Nov 25 10:51:40 PST 2014
org/apache/samza/util/hadoop/HttpFileSystem$$anonfun$initialize$1.class

  1597 Tue Nov 25 10:51:40 PST 2014
org/apache/samza/util/hadoop/HttpFileSystem$$anonfun$open$1.class

  1797 Tue Nov 25 10:51:40 PST 2014
org/apache/samza/util/hadoop/HttpFileSystem$$anonfun$open$2.class

  9549 Tue Nov 25 10:51:40 PST 2014
org/apache/samza/util/hadoop/HttpFileSystem.class


I see that env is set right:


HADOOP_YARN_HOME=/home/hadoop/hadoop-2.5.2

HADOOP_CONF_DIR=/home/hadoop/hadoop-2.5.2/conf

Wondering if I am missing anything...
- Shekar

Reply via email to