hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ipraveen <praveen.j...@tarmin.com>
Subject problem staritn namenode by Java
Date Tue, 25 Mar 2008 08:12:48 GMT

hi
  how to start a namenode using hadoop api 
i am getting following error
while i am trying to do

 nn=new NameNode(conf);


java.io.IOException: javax.security.auth.login.LoginException: Login failed:
CreateProcess: whoami error=2
        at
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:250)
        at
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:268)
        at
org.apache.hadoop.dfs.FSNamesystem.setConfigurationParameters(FSNamesystem.java:329)
        at
org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:248)
        at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:235)
        at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:130)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:175)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:161)
        at tdfsconfig.TtlDfsConfigurator.<init>(TtlDfsConfigurator.java:33)
        at tdfsconfig.TtlDfsConfigurator.main(TtlDfsConfigurator.java:43)

        at
org.apache.hadoop.dfs.FSNamesystem.setConfigurationParameters(FSNamesystem.java:331)

-- 
View this message in context: http://www.nabble.com/problem-staritn-namenode-by-Java-tp16270118p16270118.html
Sent from the Hadoop core-dev mailing list archive at Nabble.com.


Mime
View raw message