You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/12/11 16:25:42 UTC
svn commit: r1644676 -
/incubator/slider/site/trunk/content/docs/troubleshooting.md
Author: stevel
Date: Thu Dec 11 15:25:42 2014
New Revision: 1644676
URL: http://svn.apache.org/r1644676
Log:
update troubleshooting doc
Modified:
incubator/slider/site/trunk/content/docs/troubleshooting.md
Modified: incubator/slider/site/trunk/content/docs/troubleshooting.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/docs/troubleshooting.md?rev=1644676&r1=1644675&r2=1644676&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/docs/troubleshooting.md (original)
+++ incubator/slider/site/trunk/content/docs/troubleshooting.md Thu Dec 11 15:25:42 2014
@@ -22,38 +22,17 @@ up a YARN application, with the need to
that works
-### Common problems
+## Common problems
-## Classpath for Slider AM wrong
+### Slider instances not being able to create registry paths on secure clusters
-The Slider Application Master, the "Slider AM" builds up its classpath from
-those JARs it has locally, and the JARS pre-installed on the classpath
+This feature requires the YARN Resource Manager to do the setup securely of
+the user's path in the registry
-This often surfaces in an exception that can be summarized as
-"hadoop-common.jar is not on the classpath":
-
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/util/ExitUtil$ExitException
- Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.ExitUtil$ExitException
- at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
- at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
- Could not find the main class: org.apache.hadoop.yarn.service.launcher.ServiceLauncher. Program will exit.
-
-
-For ambari-managed deployments, we recommend the following
-
-
- <property>
- <name>yarn.application.classpath</name>
- <value>
- /etc/hadoop/conf,/usr/lib/hadoop/*,/usr/lib/hadoop/lib/*,/usr/lib/hadoop-hdfs/*,/usr/lib/hadoop-hdfs/lib/*,/usr/lib/hadoop-yarn/*,/usr/lib/hadoop-yarn/lib/*,/usr/lib/hadoop-mapreduce/*,/usr/lib/hadoop-mapreduce/lib/*
- </value>
- </property>
+1. The RM must have the specific patch applied to do this. It is not in
+Apache Hadoop 2.6.0; it is in HDP-2.2.
+1. The registry must be enabled
-The `yarn-site.xml` file for the site will contain the relevant value.
### Application Instantiation fails, "TriggerClusterTeardownException: Unstable Cluster"