hadoop報:jobtracker.info could only be replicated to 0 nodes, instead of 1

wzkl發表於2011-03-25
hadoop啟動後,只有如下三個程式:
8183 JobTracker
15897 Jps
7734 NameNode
8072 SecondaryNameNode
檢視LOG一直報錯,請教各位是怎麼回事?

2011-03-25 11:16:37,392 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 on 9998, call addBlock(/opt/hadoop/system/jobtracker.info, DFSClient_89047896, null, null) from 172.16.211.25:49364: error: java.io.IOException: File /opt/hadoop/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
java.io.IOException: File /opt/hadoop/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1448)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:690)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:742)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344)
2011-03-25 11:16:37,402 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: ugi=root        ip=/172.16.211.25       cmd=delete      src=/opt/hadoop/system/jobtracker.info  dst=null        perm=null
2011-03-25 11:16:47,407 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of transactions: 105 Total time for transactions(ms): 20Number of transactions batched in Syncs: 0 Number of syncs: 74 SyncTimes(ms): 13769
2011-03-25 11:16:47,415 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: ugi=root        ip=/172.16.211.25       cmd=create      src=/opt/hadoop/system/jobtracker.info  dst=null        perm=root:supergroup:rw-r--r--
2011-03-25 11:16:47,427 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: ugi=root        ip=/172.16.211.25       cmd=setPermission       src=/opt/hadoop/system/jobtracker.info  dst=null        perm=root:supergroup:rw-------
2011-03-25 11:16:47,429 INFO org.apache.hadoop.ipc.Server: IPC Server handler 6 on 9998, call addBlock(/opt/hadoop/system/jobtracker.info, DFSClient_89047896, null, null) from 172.16.211.25:49364: error: java.io.IOException: File /opt/hadoop/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
java.io.IOException: File /opt/hadoop/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1448)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:690)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:742)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344)
2011-03-25 11:16:47,444 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: ugi=root        ip=/172.16.211.25       cmd=delete      src=/opt/hadoop/system/jobtracker.info  dst=null        perm=null

<p class="indent">

相關文章