[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840833#action_12840833
 ] 

Mahadev konar commented on MAPREDUCE-1548:
------------------------------------------

you are right nicholas, that the file permissions that would be stored in the 
index file can be surpassed with using the underlying file system but I think 
thats fine. I think its the same case with tarball, since you can read through 
a tarball file directly (surpassing permissions of files stored in tar) and 
read through data which might not be readable as per the permissions stored in 
the tarball.


bq.  wonder if it's time to convert the index file to Avro? That should make it 
easier to add fields.

I think its a good idea to move to a binary format for sure. Though we need to 
maintain backwards compatbility with the new version being able to read older 
versions.

> 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.

Reply via email to