You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "bdsyq (Created) (JIRA)" <ji...@apache.org> on 2012/01/10 04:39:40 UTC
[jira] [Created] (HDFS-2774) Use TestDFSIO to test HDFS, and Failed
with the exception: All datanodes are bad. Aborting...
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
Fix For: 0.20.2
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 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