Hadoop Common
  1. Hadoop Common
  2. HADOOP-5859

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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[])

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

        Issue Links

          Activity

          Kan Zhang created issue -
          Kan Zhang made changes -
          Field Original Value New Value
          Attachment 5859-4.patch [ 12408328 ]
          Kan Zhang made changes -
          Attachment 5859-5.patch [ 12408329 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kan Zhang made changes -
          Attachment 5859-8.patch [ 12408501 ]
          Kan Zhang made changes -
          Attachment 5859-19.patch [ 12408845 ]
          Kan Zhang made changes -
          Attachment 5859-19.patch [ 12408845 ]
          Kan Zhang made changes -
          Attachment 5859-21.patch [ 12408887 ]
          Kan Zhang made changes -
          Link This issue is related to HADOOP-5904 [ HADOOP-5904 ]
          Kan Zhang made changes -
          Attachment 5859-22.patch [ 12408891 ]
          Kan Zhang made changes -
          Attachment 5859-26.patch [ 12408980 ]
          Kan Zhang made changes -
          Attachment 5859-33.patch [ 12409194 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Attachment 5859-35.patch [ 12409409 ]
          Kan Zhang made changes -
          Attachment 5859-36.patch [ 12409430 ]
          Kan Zhang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Attachment 5859-38.patch [ 12409681 ]
          Kan Zhang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Attachment 5859-40.patch [ 12409725 ]
          Kan Zhang made changes -
          Attachment 5859-41.patch [ 12409796 ]
          Tsz Wo Nicholas Sze made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.0 [ 12313563 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HDFS-732 [ HDFS-732 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Kan Zhang
              Reporter:
              Kan Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development