[ https://issues.apache.org/jira/browse/HDFS-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HDFS-2774. ------------------------------------ Resolution: Won't Fix > Use TestDFSIO to test HDFS, and Failed with the exception: All datanodes are > bad. Aborting... > --------------------------------------------------------------------------------------------- > > Key: HDFS-2774 > URL: https://issues.apache.org/jira/browse/HDFS-2774 > Project: Hadoop HDFS > Issue Type: Test > Components: test > Affects Versions: 0.20.2 > Environment: 20 nodes with 2-core cpu and 1G RAM 20G Hard disk ,1 > switch > Reporter: bdsyq > Labels: hadoop > Original Estimate: 504h > Remaining Estimate: 504h > > use TestDFSIO to test the HDFS > use the commond: hadoop jar ....TestDFSIO - write -nrFiles 10 -fileSize 500 > when running ,errors occurs: > 12/01/09 16:00:45 INFO mapred.JobClient: Task Id : > attempt_201201091556_0001_m_000006_2, Status : FAILED > java.io.IOException: All datanodes 192.168.0.17:50010 are bad. Aborting... > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.processDatanodeError(DFSClient.java:2556) > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$1600(DFSClient.java:2102) > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2265) > attempt_201201091637_0002_m_000005_0: log4j:WARN No appenders could be found > for logger (org.apache.hadoop.hdfs.DFSClient). > attempt_201201091637_0002_m_000005_0: log4j:WARN Please initialize the log4j > system properly. > I don't know why? -- This message was sent by Atlassian JIRA (v6.3.4#6332)