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 & mover
    • 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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development