Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4395

Reloading FSImage and FSEditLog may erase user and group information

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.18.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The bug can be reproduced as following:

      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
      

      Then, restart cluster ...

      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
      

      The group information for a.txt is missing.

        Attachments

        1. 4395_20081011_0.18.patch
          5 kB
          Tsz Wo Nicholas Sze
        2. 4395_20081011.patch
          5 kB
          Tsz Wo Nicholas Sze
        3. 4395_20081010.patch
          1 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: