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

Lack of synchronization on access to datanodeUuid in DataStorage#format()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

          this.datanodeUuid = datanodeUuid;
      

      The above assignment should be done holding lock "DataStorage.this" - as is done in two other places.

      Attachments

        1. HDFS-6848.0.patch
          0.8 kB
          Xiaoyu Yao

        Activity

          People

            xyao Xiaoyu Yao
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: