Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 83428 invoked from network); 25 Jun 2009 23:36:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 23:36:22 -0000 Received: (qmail 75262 invoked by uid 500); 25 Jun 2009 23:36:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 75177 invoked by uid 500); 25 Jun 2009 23:36:32 -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 75036 invoked by uid 99); 25 Jun 2009 23:36:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 23:36:31 +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; Thu, 25 Jun 2009 23:36:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 68925234C051 for ; Thu, 25 Jun 2009 16:36:07 -0700 (PDT) Message-ID: <1142697070.1245972967427.JavaMail.jira@brutus> Date: Thu, 25 Jun 2009 16:36:07 -0700 (PDT) From: "thushara wijeratna (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-6109) Handle large (several MB) text input lines in a reasonable amount of time In-Reply-To: <1506659090.1245972727680.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-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] thushara wijeratna updated HADOOP-6109: --------------------------------------- Attachment: (was: HADOOP-1234.patch) > Handle large (several MB) text input lines in a reasonable amount of time > ------------------------------------------------------------------------- > > Key: HADOOP-6109 > URL: https://issues.apache.org/jira/browse/HADOOP-6109 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Affects Versions: 0.19.0 > Environment: Linux 2.6 kernel, java 1.6 AMD Dual-Core Opteron 2.6GHz with 1M L1/L2 cache 1.8G RAM > Reporter: thushara wijeratna > Attachments: HADOOP-1234.patch > > > problem: > ======= > hadoop was timing out on a simple pass-through job (with the default 10 min timeout) > cause: > ===== > i hunted this down to how Text lines are being processed inside org.apache.hadoop.util.LineReader. > i have a fix, a task that took more than 20 minutes and still failed to complete, completes with this fix in under 30 s. > i attach the patch (for trunk) > the problem traces: > ================ > hadoop version: 0.19.0 > userlogs on slave node: > 2009-05-29 13:57:33,551 WARN org.apache.hadoop.mapred.TaskRunner: Parent died. Exiting attempt_200905281652_0013_m_000006_1 > [root@domU-12-31-38-01-7C-92 attempt_200905281652_0013_m_000006_1]# > tellingly, the last input line processed right before this WARN is 19K. (i log the full input line in the map function for debugging) > output on map-reduce task: > Task attempt_200905281652_0013_m_000006_2 failed to report status for 600 seconds. Killing! > 09/05/29 14:08:01 INFO mapred.JobClient: map 99% reduce 32% > 09/05/29 14:18:05 INFO mapred.JobClient: map 98% reduce 32% > java.io.IOException: Job failed! > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1217) > at com.adxpose.data.mr.DailyHeatmapAggregator.run(DailyHeatmapAggregator.java:547) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at com.adxpose.data.mr.DailyHeatmapAggregator.main(DailyHeatmapAggregator.java:553) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:165) > at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.