You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2014/04/25 18:36:15 UTC

[jira] [Resolved] (MAPREDUCE-3677) If "hadoop.security.authorization" is set to true, NM is not starting.

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chen He resolved MAPREDUCE-3677.
--------------------------------

    Resolution: Not a Problem

> 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)