Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 53132 invoked from network); 29 May 2009 07:20:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 May 2009 07:20:58 -0000 Received: (qmail 66461 invoked by uid 500); 29 May 2009 07:21:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 66390 invoked by uid 500); 29 May 2009 07:21:10 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 66380 invoked by uid 99); 29 May 2009 07:21:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2009 07:21:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2009 07:21:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9C39D234C1ED for ; Fri, 29 May 2009 00:20:45 -0700 (PDT) Message-ID: <1525000296.1243581645639.JavaMail.jira@brutus> Date: Fri, 29 May 2009 00:20:45 -0700 (PDT) From: "Todd Lipcon (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5175) Option to prohibit jars unpacking In-Reply-To: <771104448.1233849479532.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HADOOP-5175: -------------------------------- Release Note: Jars passed to the -libjars option of hadoop jars are no longer unpacked inside mapred.local.dir. > Option to prohibit jars unpacking > --------------------------------- > > Key: HADOOP-5175 > URL: https://issues.apache.org/jira/browse/HADOOP-5175 > Project: Hadoop Core > Issue Type: New Feature > Components: mapred > Affects Versions: 0.19.0 > Environment: Hadoop cluster of 5 servers, each with: > HDD: two disks WDC WD1000FYPS-01ZKB0 > OS: Linux 2.6.26-1-686 #1 SMP > FS: XFS > Reporter: Andrew Gudkov > Assignee: Todd Lipcon > Fix For: 0.21.0 > > Attachments: hadoop-5175.txt > > > I've noticed that task tracker moves all unpacked jars into > ${hadoop.tmp.dir}/mapred/local/taskTracker. > We are using a lot of external libraries, that are deployed via "-libjars" > option. The total number of files after unpacking is about 20 thousands. > After running a number of jobs, tasks start to be killed with timeout reason > ("Task attempt_200901281518_0011_m_000173_2 failed to report status for 601 > seconds. Killing!"). All killed tasks are in "initializing" state. I've > watched the tasktracker logs and found such messages: > {quote} > Thread 20926 (Thread-10368): > State: BLOCKED > Blocked count: 3611 > Waited count: 24 > Blocked on java.lang.ref.Reference$Lock@e48ed6 > Blocked by 20882 (Thread-10341) > Stack: > java.lang.StringCoding$StringEncoder.encode(StringCoding.java:232) > java.lang.StringCoding.encode(StringCoding.java:272) > java.lang.String.getBytes(String.java:947) > java.io.UnixFileSystem.getBooleanAttributes0(Native Method) > java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) > java.io.File.isDirectory(File.java:754) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:427) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:433) > {quote} > HADOOP-4780 patch brings the code which stores map of directories along > with their DU's, thus reducing the number of calls to DU. However, the delete operation takes too long. I've manually deleted archive after 10 jobs had run and it took over 30 minutes on XFS. > I suppose that an option to prohibit jars unpacking would be helpfull in my situation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.