hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4395) Reloading FSImage and FSEditLog may erase user and group information
Date Mon, 13 Oct 2008 21:02:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639190#action_12639190
] 

Raghu Angadi commented on HADOOP-4395:
--------------------------------------

I think a considerable part of the reason why this bug got in is lack of javadoc contract
for setOwner() methods. Though these are supposed to be hdfs internal, javadoc should have
been there. But this comment is too late for this jira I guess.


> Reloading FSImage and FSEditLog may erase user and group information
> --------------------------------------------------------------------
>
>                 Key: HADOOP-4395
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4395
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.18.2
>
>         Attachments: 4395_20081010.patch, 4395_20081011.patch, 4395_20081011_0.18.patch
>
>
> The bug can be reproduced as following:
> {noformat}
> bash-3.2$ ./bin/hadoop fs -lsr                 
> -rw-r--r--   3 tsz supergroup       1366 2008-10-10 17:52 /user/tsz/a.txt
> -rw-r--r--   3 tsz supergroup       1366 2008-10-10 17:52 /user/tsz/b.txt
> bash-3.2$ ./bin/hadoop fs -chown sze a.txt
> bash-3.2$ ./bin/hadoop fs -lsr
> -rw-r--r--   3 sze supergroup       1366 2008-10-10 17:52 /user/tsz/a.txt
> -rw-r--r--   3 tsz supergroup       1366 2008-10-10 17:52 /user/tsz/b.txt
> {noformat}
> Then, restart cluster ...
> {noformat}
> bash-3.2$ ./bin/hadoop fs -lsr
> -rw-r--r--   3 sze                  1366 2008-10-10 17:52 /user/tsz/a.txt
> -rw-r--r--   3 tsz supergroup       1366 2008-10-10 17:52 /user/tsz/b.txt
> {noformat}
> The group information for a.txt is missing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message