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

FindBugs : fix "wait() or sleep() with locks held" warnings in hdfs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      This JIRA fixes the following warnings:

      SWL org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.closeInternal() calls Thread.sleep() with a lock held
      TLW wait() with two locks held in org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.flushInternal()
      TLW wait() with two locks held in org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.flushInternal()
      TLW wait() with two locks held in org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.writeChunk(byte[], int, int, byte[])

      Attachments

        1. 5859-4.patch
          2 kB
          Kan Zhang
        2. 5859-5.patch
          7 kB
          Kan Zhang
        3. 5859-8.patch
          3 kB
          Kan Zhang
        4. 5859-21.patch
          62 kB
          Kan Zhang
        5. 5859-22.patch
          62 kB
          Kan Zhang
        6. 5859-26.patch
          63 kB
          Kan Zhang
        7. 5859-33.patch
          63 kB
          Kan Zhang
        8. 5859-35.patch
          63 kB
          Kan Zhang
        9. 5859-36.patch
          63 kB
          Kan Zhang
        10. 5859-38.patch
          63 kB
          Kan Zhang
        11. 5859-40.patch
          63 kB
          Kan Zhang
        12. 5859-41.patch
          63 kB
          Kan Zhang

        Issue Links

          Activity

            People

              kzhang Kan Zhang
              kzhang Kan Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: