[ https://issues.apache.org/jira/browse/MAPREDUCE-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated MAPREDUCE-1628: ---------------------------------------------- Attachment: m1628_20100329.patch m1628_20100329.patch: - for files, use part file status; - for dir, use .har dir status - need some tests. > HarFileSystem shows incorrect replication numbers and permissions > ----------------------------------------------------------------- > > Key: MAPREDUCE-1628 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1628 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Mahadev konar > Fix For: 0.22.0 > > Attachments: m1628_20100329.patch > > > In the har dir, the replication # of part-0 is 3. > {noformat} > -bash-3.1$ hadoop fs -ls ${DIR}.har > Found 3 items > -rw------- 5 tsz users 1141 2010-02-10 18:34 /user/tsz/t20.har/_index > -rw------- 5 tsz users 24 2010-02-10 18:34 > /user/tsz/t20.har/_masterindex > -rw------- 3 tsz users 15052 2010-02-10 18:34 /user/tsz/t20.har/part-0 > {noformat} > but the replication # of the individual har:// files is shown as 5. > {noformat} > -bash-3.1$ hadoop fs -lsr ${HAR_FULL}/ > drw------- - tsz users 0 2010-02-10 18:34 /user/tsz/t20.har/t20 > -rw------- 5 tsz users 723 2010-02-10 18:34 > /user/tsz/t20.har/t20/text-00000000 > -rw------- 5 tsz users 779 2010-02-10 18:34 > /user/tsz/t20.har/t20/text-00000001 > -rw------- 5 tsz users 818 2010-02-10 18:34 > /user/tsz/t20.har/t20/text-00000002 > ... > {noformat} > The permission also has similar problem. Clearly, the permission of > t20.har/t20 shown above is incorrect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.