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

Add block id when client got Unable to close file exception

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Add block id when client got Unable to close file exception,, It's good to have block id, for better debugging purpose.

      1. HDFS-10292.patch
        1.0 kB
        Brahma Reddy Battula

        Activity

        Hide
        liuml07 Mingliang Liu added a comment -

        A space between "block" and last will be better, but it's fine without it.

        Show
        liuml07 Mingliang Liu added a comment - A space between "block" and last will be better, but it's fine without it.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #9615 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9615/)
        HDFS-10292. Add block id when client got Unable to close file exception. (kihwal: rev 2c155afe2736a5571bbb3bdfb2fe6f9709227229)

        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #9615 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9615/ ) HDFS-10292 . Add block id when client got Unable to close file exception. (kihwal: rev 2c155afe2736a5571bbb3bdfb2fe6f9709227229) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
        Hide
        kihwal Kihwal Lee added a comment -

        Committed it to trunk, branch-2 and branch-2.8. Thanks for the patch, Brahma Reddy Battula.

        Show
        kihwal Kihwal Lee added a comment - Committed it to trunk, branch-2 and branch-2.8. Thanks for the patch, Brahma Reddy Battula .
        Hide
        kihwal Kihwal Lee added a comment -

        +1 lgtm. I will commit it shortly.

        Show
        kihwal Kihwal Lee added a comment - +1 lgtm. I will commit it shortly.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 30s 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 10m 59s trunk passed
        +1 compile 0m 59s trunk passed with JDK v1.8.0_77
        +1 compile 0m 47s trunk passed with JDK v1.7.0_95
        +1 checkstyle 0m 26s trunk passed
        +1 mvnsite 0m 56s trunk passed
        +1 mvneclipse 0m 20s trunk passed
        +1 findbugs 2m 21s trunk passed
        +1 javadoc 0m 44s trunk passed with JDK v1.8.0_77
        +1 javadoc 0m 42s trunk passed with JDK v1.7.0_95
        +1 mvninstall 0m 50s the patch passed
        +1 compile 0m 51s the patch passed with JDK v1.8.0_77
        +1 javac 0m 51s the patch passed
        +1 compile 0m 43s the patch passed with JDK v1.7.0_95
        +1 javac 0m 43s the patch passed
        +1 checkstyle 0m 21s the patch passed
        +1 mvnsite 0m 52s the patch passed
        +1 mvneclipse 0m 16s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 findbugs 2m 39s the patch passed
        +1 javadoc 0m 40s the patch passed with JDK v1.8.0_77
        +1 javadoc 0m 39s the patch passed with JDK v1.7.0_95
        +1 unit 1m 39s hadoop-hdfs-client in the patch passed with JDK v1.8.0_77.
        +1 unit 1m 24s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95.
        +1 asflicense 0m 32s Patch does not generate ASF License warnings.
        33m 46s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:fbe3e86
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12798748/HDFS-10292.patch
        JIRA Issue HDFS-10292
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 349fbc280626 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 / 0d1c115
        Default Java 1.7.0_95
        Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_77 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
        findbugs v3.0.0
        JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/15165/testReport/
        modules C: hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project/hadoop-hdfs-client
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/15165/console
        Powered by Apache Yetus 0.2.0 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 30s 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 10m 59s trunk passed +1 compile 0m 59s trunk passed with JDK v1.8.0_77 +1 compile 0m 47s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 26s trunk passed +1 mvnsite 0m 56s trunk passed +1 mvneclipse 0m 20s trunk passed +1 findbugs 2m 21s trunk passed +1 javadoc 0m 44s trunk passed with JDK v1.8.0_77 +1 javadoc 0m 42s trunk passed with JDK v1.7.0_95 +1 mvninstall 0m 50s the patch passed +1 compile 0m 51s the patch passed with JDK v1.8.0_77 +1 javac 0m 51s the patch passed +1 compile 0m 43s the patch passed with JDK v1.7.0_95 +1 javac 0m 43s the patch passed +1 checkstyle 0m 21s the patch passed +1 mvnsite 0m 52s the patch passed +1 mvneclipse 0m 16s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 39s the patch passed +1 javadoc 0m 40s the patch passed with JDK v1.8.0_77 +1 javadoc 0m 39s the patch passed with JDK v1.7.0_95 +1 unit 1m 39s hadoop-hdfs-client in the patch passed with JDK v1.8.0_77. +1 unit 1m 24s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95. +1 asflicense 0m 32s Patch does not generate ASF License warnings. 33m 46s Subsystem Report/Notes Docker Image:yetus/hadoop:fbe3e86 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12798748/HDFS-10292.patch JIRA Issue HDFS-10292 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 349fbc280626 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 / 0d1c115 Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_77 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/15165/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project/hadoop-hdfs-client Console output https://builds.apache.org/job/PreCommit-HDFS-Build/15165/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Uploaded the patch, kindly review.

        Show
        brahmareddy Brahma Reddy Battula added a comment - Uploaded the patch, kindly review.

          People

          • Assignee:
            brahmareddy Brahma Reddy Battula
            Reporter:
            brahmareddy Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development