Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 56958 invoked from network); 20 Sep 2010 11:30:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 11:30:59 -0000 Received: (qmail 41942 invoked by uid 500); 20 Sep 2010 11:30:59 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 41813 invoked by uid 500); 20 Sep 2010 11:30:56 -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 41801 invoked by uid 99); 20 Sep 2010 11:30:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 11:30:55 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 11:30:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8KBUYJf005631 for ; Mon, 20 Sep 2010 11:30:34 GMT Message-ID: <22697563.292811284982234547.JavaMail.jira@thor> Date: Mon, 20 Sep 2010 07:30:34 -0400 (EDT) From: "Ranjit Mathew (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-2078) TraceBuilder unable to generate the traces while giving the job history path by globing. In-Reply-To: <29285703.246331284703175555.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-2078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912439#action_12912439 ] Ranjit Mathew commented on MAPREDUCE-2078: ------------------------------------------ Some minor comments: * In ??If the input is a file then its directly?? in the comment to {{processInput()}}, change "its" to "it's" or "it is". * Just use plain old JavaDoc style comments for {{processInput()}}. * In {{processInput()}}, you can now directly use the {{FileStatus}} object {{inStatus}} instead of calling {{fs.getFileStatus()}} again. > TraceBuilder unable to generate the traces while giving the job history path by globing. > ---------------------------------------------------------------------------------------- > > Key: MAPREDUCE-2078 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2078 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: tools/rumen > Reporter: Vinay Kumar Thota > Assignee: Amar Kamat > Attachments: mapreduce-2078-v1.2.patch > > > I was trying to generate the traces for MR job histories by using TraceBuilder. However, it's unable to generate the traces while giving the job history path by globing. It throws a file not found exception even though the job history path is exists. > I have provide the job history path in the below way. > hdfs://<>/dir1/dir2/dir3/*/*/*/*/*/*/ > Exception: > java.io.FileNotFoundException: File does not exist: > hdfs://<>/dir1/dir2/dir3/*/*/*/*/*/* > at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:525) > at org.apache.hadoop.tools.rumen.TraceBuilder$MyOptions.(TraceBuilder.java:88) > at org.apache.hadoop.tools.rumen.TraceBuilder.run(TraceBuilder.java:183) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.tools.rumen.TraceBuilder.main(TraceBuilder.java:121) > It's truncating the last slash in the path. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.