Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E04BC1739E for ; Tue, 10 Mar 2015 03:14:39 +0000 (UTC) Received: (qmail 94747 invoked by uid 500); 10 Mar 2015 03:14:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 94516 invoked by uid 500); 10 Mar 2015 03:14:39 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 94483 invoked by uid 99); 10 Mar 2015 03:14:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 03:14:39 +0000 Date: Tue, 10 Mar 2015 03:14:38 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-2774) Use TestDFSIO to test HDFS, and Failed with the exception: All datanodes are bad. Aborting... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)