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

Fix findbug in DirectoryScanner

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 2.10.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There is a findbug in DirectoryScanner.

      Multithreaded correctness Warnings
      
      org.apache.hadoop.hdfs.server.datanode.DirectoryScanner.reconcile() calls Thread.sleep() with a lock held
      Bug type SWL_SLEEP_WITH_LOCK_HELD (click for details) 
      In class org.apache.hadoop.hdfs.server.datanode.DirectoryScanner
      In method org.apache.hadoop.hdfs.server.datanode.DirectoryScanner.reconcile()
      At DirectoryScanner.java:[line 441]
      

      https://builds.apache.org/job/PreCommit-HDFS-Build/28498/artifact/out/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html

        Attachments

        1. HDFS-15048-branch-2.10.002.patch
          0.7 kB
          Sean Chow
        2. HDFS-15048.001.patch
          1 kB
          Masatake Iwasaki

        Issue Links

          Activity

            People

            • Assignee:
              iwasakims Masatake Iwasaki
              Reporter:
              tasanuma Takanobu Asanuma

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment