Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-956

Improper synchronization in some FSNamesystem methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.21.0, 0.22.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There are some methods in FSNamesystem that check isInSafeMode while not synchronized, and then proceed to perform operations. Thus the actual operations can occur after the NN has entered safemode, which is no good.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: