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

DataNode uses a deprecated method IoUtils#cleanup.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DataNode uses a deprecated method IoUtils#cleanup. It can be replaced with IoUtils#cleanupWithLogger.

        Activity

        Hide
        arpitagarwal Arpit Agarwal added a comment -

        Committed. Thanks for the contribution Ajay Kumar.

        Show
        arpitagarwal Arpit Agarwal added a comment - Committed. Thanks for the contribution Ajay Kumar .
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 15s Docker mode activated.
              Prechecks
        +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.
              trunk Compile Tests
        +1 mvninstall 13m 47s trunk passed
        +1 compile 13m 53s trunk passed
        +1 checkstyle 0m 35s trunk passed
        +1 mvnsite 1m 29s trunk passed
        +1 findbugs 1m 23s trunk passed
        +1 javadoc 0m 50s trunk passed
              Patch Compile Tests
        +1 mvninstall 0m 39s the patch passed
        +1 compile 10m 19s the patch passed
        +1 javac 10m 19s the patch passed
        +1 checkstyle 0m 36s the patch passed
        +1 mvnsite 1m 26s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 findbugs 1m 31s the patch passed
        +1 javadoc 0m 50s the patch passed
              Other Tests
        +1 unit 8m 32s hadoop-common in the patch passed.
        +1 asflicense 0m 29s The patch does not generate ASF License warnings.
        57m 40s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:14b5c93
        JIRA Issue HDFS-12264
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12880702/HDFS-12264.01.patch
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 476855bc6f1c 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / adb84f3
        Default Java 1.8.0_131
        findbugs v3.1.0-RC1
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/20584/testReport/
        modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/20584/console
        Powered by Apache Yetus 0.6.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.       Prechecks +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.       trunk Compile Tests +1 mvninstall 13m 47s trunk passed +1 compile 13m 53s trunk passed +1 checkstyle 0m 35s trunk passed +1 mvnsite 1m 29s trunk passed +1 findbugs 1m 23s trunk passed +1 javadoc 0m 50s trunk passed       Patch Compile Tests +1 mvninstall 0m 39s the patch passed +1 compile 10m 19s the patch passed +1 javac 10m 19s the patch passed +1 checkstyle 0m 36s the patch passed +1 mvnsite 1m 26s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 1m 31s the patch passed +1 javadoc 0m 50s the patch passed       Other Tests +1 unit 8m 32s hadoop-common in the patch passed. +1 asflicense 0m 29s The patch does not generate ASF License warnings. 57m 40s Subsystem Report/Notes Docker Image:yetus/hadoop:14b5c93 JIRA Issue HDFS-12264 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12880702/HDFS-12264.01.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 476855bc6f1c 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / adb84f3 Default Java 1.8.0_131 findbugs v3.1.0-RC1 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/20584/testReport/ modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common Console output https://builds.apache.org/job/PreCommit-HDFS-Build/20584/console Powered by Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        arpitagarwal Arpit Agarwal added a comment -

        +1 pending Jenkins.

        Show
        arpitagarwal Arpit Agarwal added a comment - +1 pending Jenkins.
        Hide
        ajayydv Ajay Kumar added a comment - - edited

        Arpit Agarwal,Anu Engineer Could you please review patch for HDFS-12264.

        Show
        ajayydv Ajay Kumar added a comment - - edited Arpit Agarwal , Anu Engineer Could you please review patch for HDFS-12264 .

          People

          • Assignee:
            ajayydv Ajay Kumar
            Reporter:
            ajayydv Ajay Kumar
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development