hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1548) Hadoop archives should be able to preserve times and other properties from original files
Date Wed, 10 Mar 2010 19:58:27 GMT

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

Rodrigo Schmidt commented on MAPREDUCE-1548:

I think most file properties should be stored inside the index file and HadoopArchives should
have an option to tell whether we want to preserve the original file properties or assign
new ones at creation time. On a personal note, I think the default should be to keep the original
file properties.

As for HarFileSystem, it should assign properties in the following way:

Filename, Length, isDir, ModificationTime, Permission, Owner, Group: from the information
stored inside the index file

Replication, BlockSize, AccessTime: from the part-xxx file storing the file data.

I think this is as consistent as one can get.

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

View raw message