[
https://issues.apache.org/jira/browse/MAPREDUCE-3677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981221#comment-13981221
]
Chen He commented on MAPREDUCE-3677:
------------------------------------
Since there is no response for 3 days. I will close this issue. Reopen if
necessary.
> If "hadoop.security.authorization" is set to true, NM is not starting.
> ----------------------------------------------------------------------
>
> Key: MAPREDUCE-3677
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3677
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: nodemanager
> Affects Versions: 0.23.0
> Reporter: Ramgopal N
> Assignee: Chen He
>
> I have the hadoop cluster setup with root user.Accidentally i have set
> hadoop.security.authorization to true.I have not set any permissions in
> policy.xml.When i am trying to start the NM with root user ...it is throwing
> the following error
> Exception in thread "main" java.lang.NoClassDefFoundError: nodemanager
> Caused by: java.lang.ClassNotFoundException: nodemanager
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> Could not find the main class: nodemanager. Program will exit.
--
This message was sent by Atlassian JIRA
(v6.2#6252)