You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/10/11 03:05:44 UTC
[jira] Updated: (HADOOP-4395) Reloading FSImage and FSEditLog may
erase user and group information
[ https://issues.apache.org/jira/browse/HADOOP-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-4395:
-------------------------------------------
Component/s: dfs
Description:
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.
was:
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
{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}
> 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
> Priority: Blocker
> Fix For: 0.18.2
>
>
> 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.