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

Fix tests that hold FSDirectory lock, without holding FSNamesystem lock.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 3.1.4, 3.2.2, 2.10.1
    • test
    • None
    • Reviewed

    Description

      Three tests TestGetBlockLocations, TestFSNamesystem, TestDiskspaceQuotaUpdate use FSDirectory methods, which hold FSDirectory lock. They should also hold the global Namesystem lock.

      Attachments

        1. HDFS-15076.001.patch
          8 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: