Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 77528 invoked from network); 4 Oct 2010 23:35:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 23:35:22 -0000 Received: (qmail 37759 invoked by uid 500); 4 Oct 2010 23:35:22 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 37692 invoked by uid 500); 4 Oct 2010 23:35:22 -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 37684 invoked by uid 99); 4 Oct 2010 23:35:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 23:35:22 +0000 X-ASF-Spam-Status: No, hits=-1998.0 required=10.0 tests=ALL_TRUSTED,FB_GET_MEDS 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, 04 Oct 2010 23:35:20 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o94NYwCP004837 for ; Mon, 4 Oct 2010 23:34:59 GMT Message-ID: <8234694.539671286235298898.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 19:34:58 -0400 (EDT) From: "Patrick Kling (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-2110) add getArchiveIndex to HarFileSystem In-Reply-To: <30689617.539621286235153007.JavaMail.jira@thor> 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-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Kling updated MAPREDUCE-2110: ------------------------------------- Attachment: MAPREDUCE-2110.patch > add getArchiveIndex to HarFileSystem > ------------------------------------ > > Key: MAPREDUCE-2110 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2110 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Patrick Kling > Priority: Minor > Attachments: MAPREDUCE-2110.patch > > > This patch adds a public getter for archiveIndex to HarFileSystem, allowing us to access the index file corresponding to a har file system (useful for raid). > Index: src/tools/org/apache/hadoop/fs/HarFileSystem.java > =================================================================== > --- src/tools/org/apache/hadoop/fs/HarFileSystem.java (revision 1004421) > +++ src/tools/org/apache/hadoop/fs/HarFileSystem.java (working copy) > @@ -759,6 +759,13 @@ > } > > /** > + * returns the archive index > + */ > + public Path getArchiveIndex() { > + return archiveIndex; > + } > + > + /** > * return the top level archive path. > */ > public Path getHomeDirectory() { -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.