Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3454

Balancer unconditionally logs InterruptedException at INFO level on shutdown if security is enabled

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: balancer
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      NameNodeConnector#close intrrupts the keyupdaterthread on shutdown so you always see the following on shutdown:

      The cluster is balanced. Exiting...
      12/04/23 23:23:12 INFO balancer.Balancer: InterruptedException in block key updater thread
      java.lang.InterruptedException: sleep interrupted
      	at java.lang.Thread.sleep(Native Method)
      	at org.apache.hadoop.hdfs.server.balancer.NameNodeConnector$BlockKeyUpdater.run(NameNodeConnector.java:200)
      	at java.lang.Thread.run(Thread.java:662)
      
      1. hdfs-3454.txt
        1 kB
        Eli Collins

        Activity

        Eli Collins created issue -
        Eli Collins made changes -
        Field Original Value New Value
        Attachment hdfs-3454.txt [ 12528650 ]
        Eli Collins made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 2.0.1 [ 12321440 ]
        Fix Version/s 2.0.1 [ 12321440 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Eli Collins made changes -
        Assignee Eli Collins [ eli2 ] Eli Collins [ eli ]
        Arun C Murthy made changes -
        Fix Version/s 2.0.2-alpha [ 12322472 ]
        Fix Version/s 2.1.0-alpha [ 12321440 ]

          People

          • Assignee:
            Eli Collins
            Reporter:
            Eli Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development