Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 881A7DFEE for ; Thu, 9 Aug 2012 09:36:23 +0000 (UTC) Received: (qmail 71301 invoked by uid 500); 9 Aug 2012 09:36:23 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 71222 invoked by uid 500); 9 Aug 2012 09:36:21 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 71165 invoked by uid 99); 9 Aug 2012 09:36:19 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 09:36:19 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1241714182B for ; Thu, 9 Aug 2012 09:36:18 +0000 (UTC) Date: Thu, 9 Aug 2012 09:36:18 +0000 (UTC) From: "Nishan Shetty (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: <810599067.877.1344504979076.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (YARN-16) NM throws "ArithmeticException: / by zero" when there is no available space on configured local dir MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Nishan Shetty created YARN-16: --------------------------------- Summary: NM throws "ArithmeticException: / by zero" when there is no available space on configured local dir Key: YARN-16 URL: https://issues.apache.org/jira/browse/YARN-16 Project: Hadoop YARN Issue Type: Bug Components: nodemanager Affects Versions: 2.1.0-alpha Reporter: Nishan Shetty Priority: Minor {code:xml} 12/08/09 13:59:49 INFO mapreduce.Job: Task Id : attempt_1344492468506_0023_m_000000_0, Status : FAILED java.lang.ArithmeticException: / by zero at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:371) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:150) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:131) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:115) at org.apache.hadoop.yarn.server.nodemanager.LocalDirsHandlerService.getLocalPathForWrite(LocalDirsHandlerService.java:257) at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.run(ResourceLocalizationService.java:849) {code} Instead of throwing exception directly we can log a warning saying no available space on configured local dir -- 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