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

Supress CachingGetSpaceUsed from logging interrupted exception stacktrace

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: fs
    • Labels:

      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

          Activity

            People

            • Assignee:
              hanishakoneru Hanisha Koneru
              Reporter:
              jojochuang Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: