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 "Ramgopal N (Created) (JIRA)" <ji...@apache.org> on 2012/01/16 11:10:44 UTC

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

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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira