Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 80559 invoked from network); 20 May 2009 18:43:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 18:43:59 -0000 Received: (qmail 98180 invoked by uid 500); 20 May 2009 18:44:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 98017 invoked by uid 500); 20 May 2009 18:44: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 97800 invoked by uid 99); 20 May 2009 18:44:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 18:44: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; Wed, 20 May 2009 18:44:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E1F55234C004 for ; Wed, 20 May 2009 11:43:45 -0700 (PDT) Message-ID: <1387284992.1242845025911.JavaMail.jira@brutus> Date: Wed, 20 May 2009 11:43:45 -0700 (PDT) From: "Philip Zeyliger (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4041) IsolationRunner does not work as documented In-Reply-To: <262249696.1219940324151.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-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711287#action_12711287 ] Philip Zeyliger commented on HADOOP-4041: ----------------------------------------- I'm going to take a stab at this this week. > IsolationRunner does not work as documented > ------------------------------------------- > > Key: HADOOP-4041 > URL: https://issues.apache.org/jira/browse/HADOOP-4041 > Project: Hadoop Core > Issue Type: Bug > Components: documentation, mapred > Affects Versions: 0.18.0 > Reporter: Yuri Pradkin > Attachments: hadoop-4041.patch > > > IsolationRunner does not work as documented in the tutorial. > The tutorial says "To use the IsolationRunner, first set keep.failed.tasks.files to true (also see keep.tasks.files.pattern)." > Should be: > keep.failed.task.files (not tasks) > After the above was set (quoted from my message on hadoop-core): > > After the task > > hung, I failed it via the web interface. Then I went to the node that was > > running this task > > > > $ cd ...local/taskTracker/jobcache/job_200808071645_0001/work > > (this path is already different from the tutorial's) > > > > $ hadoop org.apache.hadoop.mapred.IsolationRunner ../job.xml > > Exception in thread "main" java.lang.NullPointerException > > at > > org.apache.hadoop.mapred.IsolationRunner.main(IsolationRunner.java:164) > > > > Looking at IsolationRunner code, I see this: > > > > 164 File workDirName = new File(lDirAlloc.getLocalPathToRead( > > 165 TaskTracker.getJobCacheSubdir() > > 166 + Path.SEPARATOR + taskId.getJobID() > > 167 + Path.SEPARATOR + taskId > > 168 + Path.SEPARATOR + "work", > > 169 conf). toString()); > > > > I.e. it assumes there is supposed to be a taskID subdirectory under the job > > dir, but: > > $ pwd > > ...mapred/local/taskTracker/jobcache/job_200808071645_0001 > > $ ls > > jars job.xml work > > > > -- it's not there. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.