Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3454

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • balancer & mover
    • None
    • 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)
      

      Attachments

        1. hdfs-3454.txt
          1 kB
          Eli Collins

        Activity

          People

            eli Eli Collins
            eli2 Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: