Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13710

Supress CachingGetSpaceUsed from logging interrupted exception stacktrace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha2
    • fs

    Description

      CachingGetSpaceUsed thread is typically interrupted when the node is shutdown. Since this is a routine operation, there seems not much value to print the stacktrace of an InterruptedException.

      2016-10-11 10:02:25,894 WARN fs.CachingGetSpaceUsed (CachingGetSpaceUsed.java:run(180)) - Thread Interrupted waiting to refresh disk information
      java.lang.InterruptedException: sleep interrupted
      at java.lang.Thread.sleep(Native Method)
      at org.apache.hadoop.fs.CachingGetSpaceUsed$RefreshThread.run(CachingGetSpaceUsed.java:176)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        1. HDFS-13710.000.patch
          0.8 kB
          Hanisha Koneru

        Activity

          People

            hanishakoneru Hanisha Koneru
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: