Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 97779 invoked from network); 30 Jun 2010 01:44:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jun 2010 01:44:46 -0000 Received: (qmail 13947 invoked by uid 500); 30 Jun 2010 01:44:46 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 13897 invoked by uid 500); 30 Jun 2010 01:44:45 -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 13889 invoked by uid 99); 30 Jun 2010 01:44:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 01:44:45 +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; Wed, 30 Jun 2010 01:44:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5U1aqoT007616 for ; Wed, 30 Jun 2010 01:36:52 GMT Message-ID: <12167174.125871277861812110.JavaMail.jira@thor> Date: Tue, 29 Jun 2010 21:36:52 -0400 (EDT) From: "Rodrigo Schmidt (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883761#action_12883761 ] Rodrigo Schmidt commented on MAPREDUCE-1548: -------------------------------------------- Thanks Scott! Indeed I've been doing too much PHP and javascript lately. I'll change that. The space-separated metadata is fine because I'm URL-encoding all the string properties. I kept " " as the standard separator because it is already used in other parts of Hadoop Archives. Using URL-encoding of strings makes it safe. > 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 > Affects Versions: 0.22.0 > Reporter: Rodrigo Schmidt > Assignee: Rodrigo Schmidt > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1548.0.patch > > > 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.