Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 E53EB7872 for ; Wed, 10 Aug 2011 01:28:36 +0000 (UTC) Received: (qmail 69116 invoked by uid 500); 10 Aug 2011 01:28:36 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 69068 invoked by uid 500); 10 Aug 2011 01:28:36 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 69018 invoked by uid 99); 10 Aug 2011 01:28:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 01:28:36 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 01:28:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EB7F4B4A13 for ; Wed, 10 Aug 2011 01:27:42 +0000 (UTC) Date: Wed, 10 Aug 2011 01:27:42 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <392893513.22469.1312939662961.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1311447735.14715.1304318163626.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2463) Job History files are not moving to done folder when job history location is hdfs location 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/MAPREDUCE-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082060#comment-13082060 ] Hudson commented on MAPREDUCE-2463: ----------------------------------- Integrated in Hadoop-Mapreduce-trunk-Commit #760 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/760/]) MAPREDUCE-2463. Job history files are not moved to done folder when job history location is hdfs. Contributed by Devaraj K szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1151722 Files : * /hadoop/common/trunk/mapreduce/src/java/org/apache/hadoop/mapreduce/jobhistory/JobHistory.java * /hadoop/common/trunk/mapreduce/CHANGES.txt * /hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapred/TestJobHistory.java > Job History files are not moving to done folder when job history location is hdfs location > ------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-2463 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2463 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.23.0 > Reporter: Devaraj K > Assignee: Devaraj K > Fix For: 0.23.0 > > Attachments: MAPREDUCE-2463-1.patch, MAPREDUCE-2463-2.patch, MAPREDUCE-2463.patch > > > If "mapreduce.jobtracker.jobhistory.location" is configured as HDFS location then either during initialization of Job Tracker (while moving old job history files) or after completion of the job, history files are not moving to done and giving following exception. > {code:xml} > 2011-04-29 15:27:27,813 ERROR org.apache.hadoop.mapreduce.jobhistory.JobHistory: Unable to move history file to DONE folder. > java.lang.IllegalArgumentException: Wrong FS: hdfs://10.18.52.146:9000/history/job_201104291518_0001_root, expected: file:/// > at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:402) > at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:58) > at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:419) > at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:294) > at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:215) > at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1516) > at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1492) > at org.apache.hadoop.fs.FileSystem.moveFromLocalFile(FileSystem.java:1482) > at org.apache.hadoop.mapreduce.jobhistory.JobHistory.moveToDoneNow(JobHistory.java:348) > at org.apache.hadoop.mapreduce.jobhistory.JobHistory.access$200(JobHistory.java:61) > at org.apache.hadoop.mapreduce.jobhistory.JobHistory$1.run(JobHistory.java:439) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira