Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2553

BlockPoolSliceScanner spinning in loop

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: 0.24.0, 0.23.1
    • Component/s: datanode
    • Labels:
      None

      Description

      Playing with trunk, I managed to get a DataNode in a situation where the BlockPoolSliceScanner is spinning in the following loop, using 100% CPU:
      at org.apache.hadoop.hdfs.server.datanode.DataNode$BPOfferService.isAlive(DataNode.java:820)
      at org.apache.hadoop.hdfs.server.datanode.DataNode.isBPServiceAlive(DataNode.java:2962)
      at org.apache.hadoop.hdfs.server.datanode.BlockPoolSliceScanner.scan(BlockPoolSliceScanner.java:625)
      at org.apache.hadoop.hdfs.server.datanode.BlockPoolSliceScanner.scanBlockPoolSlice(BlockPoolSliceScanner.java:614)
      at org.apache.hadoop.hdfs.server.datanode.DataBlockScanner.run(DataBlockScanner.java:95)

      1. ASF.LICENSE.NOT.GRANTED--CPUUsage.jpg
        68 kB
        Uma Maheswara Rao G
      2. HDFS-2553.patch
        2 kB
        Uma Maheswara Rao G
      3. HDFS-2553.patch
        1 kB
        Uma Maheswara Rao G

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Uma Maheswara Rao G
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development