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)

      1. HDFS-13710.000.patch
        0.8 kB
        Hanisha Koneru

        Activity

        Hide
        andrew.wang Andrew Wang added a comment -

        Reminder, please set a 3.x fix version when committing to trunk. Thanks!

        Show
        andrew.wang Andrew Wang added a comment - Reminder, please set a 3.x fix version when committing to trunk. Thanks!
        Hide
        hanishakoneru Hanisha Koneru added a comment -

        Thank you Wei-Chiu Chuang and Arpit Agarwal for reviewing and committing the patch.

        Show
        hanishakoneru Hanisha Koneru added a comment - Thank you Wei-Chiu Chuang and Arpit Agarwal for reviewing and committing the patch.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10605 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10605/)
        HADOOP-13710. Supress CachingGetSpaceUsed from logging interrupted (arp: rev 008122b3c927767ac96dc876124bc591e10c9df4)

        • (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10605 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10605/ ) HADOOP-13710 . Supress CachingGetSpaceUsed from logging interrupted (arp: rev 008122b3c927767ac96dc876124bc591e10c9df4) (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CachingGetSpaceUsed.java
        Hide
        arpitagarwal Arpit Agarwal added a comment -

        +1

        Committed for 2.8.0. Thanks for the contribution Hanisha Koneru.

        Show
        arpitagarwal Arpit Agarwal added a comment - +1 Committed for 2.8.0. Thanks for the contribution Hanisha Koneru .
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 15s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        +1 mvninstall 8m 21s trunk passed
        +1 compile 8m 32s trunk passed
        +1 checkstyle 0m 24s trunk passed
        +1 mvnsite 1m 8s trunk passed
        +1 mvneclipse 0m 14s trunk passed
        +1 findbugs 1m 42s trunk passed
        +1 javadoc 0m 47s trunk passed
        +1 mvninstall 0m 44s the patch passed
        +1 compile 7m 44s the patch passed
        +1 javac 7m 44s the patch passed
        +1 checkstyle 0m 23s the patch passed
        +1 mvnsite 0m 56s the patch passed
        +1 mvneclipse 0m 15s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 findbugs 1m 43s the patch passed
        +1 javadoc 0m 50s the patch passed
        +1 unit 8m 55s hadoop-common in the patch passed.
        +1 asflicense 0m 22s The patch does not generate ASF License warnings.
        44m 45s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:9560f25
        JIRA Issue HADOOP-13710
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12832991/HDFS-13710.000.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 5a678003b39e 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / b371c56
        Default Java 1.8.0_101
        findbugs v3.0.0
        Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/10767/testReport/
        modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/10767/console
        Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 15s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 mvninstall 8m 21s trunk passed +1 compile 8m 32s trunk passed +1 checkstyle 0m 24s trunk passed +1 mvnsite 1m 8s trunk passed +1 mvneclipse 0m 14s trunk passed +1 findbugs 1m 42s trunk passed +1 javadoc 0m 47s trunk passed +1 mvninstall 0m 44s the patch passed +1 compile 7m 44s the patch passed +1 javac 7m 44s the patch passed +1 checkstyle 0m 23s the patch passed +1 mvnsite 0m 56s the patch passed +1 mvneclipse 0m 15s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 1m 43s the patch passed +1 javadoc 0m 50s the patch passed +1 unit 8m 55s hadoop-common in the patch passed. +1 asflicense 0m 22s The patch does not generate ASF License warnings. 44m 45s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue HADOOP-13710 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12832991/HDFS-13710.000.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 5a678003b39e 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / b371c56 Default Java 1.8.0_101 findbugs v3.0.0 Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/10767/testReport/ modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/10767/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        jojochuang Wei-Chiu Chuang added a comment -

        +1 pending jenkins.

        Show
        jojochuang Wei-Chiu Chuang added a comment - +1 pending jenkins.

          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:

              Development