Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A9C5902F for ; Thu, 2 Aug 2012 07:29:08 +0000 (UTC) Received: (qmail 65368 invoked by uid 500); 2 Aug 2012 07:29:06 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 65278 invoked by uid 500); 2 Aug 2012 07:29:04 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 65234 invoked by uid 99); 2 Aug 2012 07:29:03 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 07:29:03 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id DB332142823 for ; Thu, 2 Aug 2012 07:29:02 +0000 (UTC) Date: Thu, 2 Aug 2012 07:29:02 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1133896084.4242.1343892542899.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HADOOP-8640) DU thread transient failures propagate to callers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Todd Lipcon created HADOOP-8640: ----------------------------------- Summary: DU thread transient failures propagate to callers Key: HADOOP-8640 URL: https://issues.apache.org/jira/browse/HADOOP-8640 Project: Hadoop Common Issue Type: Bug Components: fs, io Affects Versions: 2.0.0-alpha Reporter: Todd Lipcon When running some stress tests, I saw a failure where the DURefreshThread failed due to the filesystem changing underneath it: {code} org.apache.hadoop.util.Shell$ExitCodeException: du: cannot access `/data/4/dfs/dn/current/BP-1928785663-172.20.90.20-1343880685858/current/rbw/blk_4637779214690837894': No such file or directory {code} (the block was probably finalized while the du process was running, which caused it to fail) The next block write, then, called {{getUsed()}}, and the exception got propagated causing the write to fail. Since it was a pseudo-distributed cluster, the client was unable to pick a different node to write to and failed. The current behavior of propagating the exception to the next (and only the next) caller doesn't seem well-thought-out. -- 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