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

Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1548:
---------------------------------------------------

> ... yes I would like to store this information and not apply it to the part 
> files (as you pointed out, this would probably lead to inconsistencies). ...

The inconsistency may lead to some undesirable behaviors: ls may return 777 on 
a har:// path but some user actually cannot access it because the permission on 
the part file is different.  Users definitely will be confused.

> Keeping the properties does not really prevent someone who has access to the 
> har directory and files to acess the part file that contains the data, but it 
> would help a lot if we wanted to unhar the files at some point and keep their 
> original properties. That's exactly what I'm proposing in this JIRA.

I think it is very useful to store the information, which can possibly be used 
in untar, but ls should return the meta data from the part files in order to 
avoid inconsistency.

> 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