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

Reply via email to