- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Yarn.application.classpath issue in cloudera cdh4.4.0
- Labels:
-
Apache Hadoop
-
Apache YARN
-
HDFS
Created on ‎04-03-2014 02:44 AM - edited ‎09-16-2022 01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI
I have cloudera VM cdh4.4.0.
I am able to submit jobs with the yarn command but not with as a Java application.
The issue i faced is by default the yarn.application.classpath is set as
$HADOOP_CONF_DIR, $HADOOP_COMMON_HOME/share/hadoop/common/*, $HADOOP_COMMON_HOME/share/hadoop/common/lib/*, $HADOOP_HDFS_HOME/share/hadoop/hdfs/*, $HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*, $HADOOP_YARN_HOME/share/hadoop/yarn/*, $HADOOP_YARN_HOME/share/hadoop/yarn/lib/*
but with this classpath , after i submitted my job the container fails to start without any message e.g. classnotfounderror, it just silently fails and remove all the container logs with it.
By setting the yarn.application.classpath from yarn-site.xml from hadoop-yarn configuration it works.
Can you tell me what is the best way to set this classpath and if cloudera installation should create links so that the default classpath works?
Sethi
Created ‎04-03-2014 10:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yarn.application.classpath? (You'll need to click on the plus sign an move
$HADOOP_CONF_DIR to the next slot. YARN restart is required.)
Created ‎04-03-2014 10:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yarn.application.classpath? (You'll need to click on the plus sign an move
$HADOOP_CONF_DIR to the next slot. YARN restart is required.)
