Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 90983 invoked from network); 10 Mar 2010 19:14:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Mar 2010 19:14:19 -0000 Received: (qmail 14432 invoked by uid 500); 10 Mar 2010 19:13:48 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 14399 invoked by uid 500); 10 Mar 2010 19:13:48 -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 14380 invoked by uid 99); 10 Mar 2010 19:13:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Mar 2010 19:13:48 +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, 10 Mar 2010 19:13:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 406A5234C4C7 for ; Wed, 10 Mar 2010 19:13:27 +0000 (UTC) Message-ID: <1704575354.183811268248407262.JavaMail.jira@brutus.apache.org> Date: Wed, 10 Mar 2010 19:13:27 +0000 (UTC) From: "Sanjay Radia (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1548) Hadoop archives should be able to preserve times and other properties from original files In-Reply-To: <145022474.3661267521087355.JavaMail.jira@brutus.apache.org> 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-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843707#action_12843707 ] Sanjay Radia commented on MAPREDUCE-1548: ----------------------------------------- >I think liststatus should show the information stored in index file and not the part file permissions. I disagree here. har -t should should show what is in the index. However, the har *filesystem* should show the properties it is implementing: - the replication factor of the har - this is the replication factor of the part file. - the file permissions of the har - this can be the permissions of the directory or the index or the part file (we need to pick one). The har file system should pass the following unit test: - listStatus - check that the permissions returned are enforced. > Hadoop archives should be able to preserve times and other properties from original files > ----------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1548 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1548 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: harchive > Reporter: Rodrigo Schmidt > Assignee: Rodrigo Schmidt > > Files inside hadoop archives don't keep their original: > - modification time > - access time > - permission > - owner > - group > all such properties are currently taken from the file storing the archive index, and not the stored files. This doesn't look very correct. > There should be possible to preserve the original properties of the stored files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.