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

Reloading FSImage and FSEditLog may erase user and group information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.18.2
    • None
    • None
    • 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_20081010.patch
          1 kB
          Tsz-wo Sze
        2. 4395_20081011_0.18.patch
          5 kB
          Tsz-wo Sze
        3. 4395_20081011.patch
          5 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: