hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cldoltd (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3242) hadoop using scoundary name node
Date Tue, 10 Apr 2012 07:37:25 GMT
hadoop using scoundary name node
--------------------------------

                 Key: HDFS-3242
                 URL: https://issues.apache.org/jira/browse/HDFS-3242
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: cldoltd


I wanto using scoundary name node back up at master and one salve
i config in conf/master
   master
   slave1

in slave1 i config in hdfs-site:    
     
      <property>
          <name>dfs.http.address</name>
          <value>hmaster90:50070</value>
      </property>

But when i stop , and start hadop 
error is:
2012-04-09 19:06:57,971 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.NullPointerException
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(FSDirectory.java:1091)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addChild(FSDirectory.java:1103)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.addNode(FSDirectory.java:1006)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedAddFile(FSDirectory.java:205)
        at org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:613)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:1013)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:826)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:362)
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:97)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:386)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:360)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:276)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:496)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1279)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)

i remove file edit.new 
then runsucess but i data will be lost.

How does use scoundaryname node in other computer

thank.



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

        

Mime
View raw message