Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4608

Redundant code statement in WritingYarnApplications

    Details

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

      Description

      There is redundant statement application master section in WritingYarnApplications.

      List<Container> previousAMRunningContainers =
          response.getContainersFromPreviousAttempts();
      List<Container> previousAMRunningContainers =
          response.getContainersFromPreviousAttempts();
      

        Activity

        Hide
        lewuathe Kai Sasaki added a comment -

        I removed the redundant statement in code example and fix some typos.

        Show
        lewuathe Kai Sasaki added a comment - I removed the redundant statement in code example and fix some typos.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        +1 pending Jenkins. I just started Jenkins job manually.

        Show
        ajisakaa Akira Ajisaka added a comment - +1 pending Jenkins. I just started Jenkins job manually.
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 0s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 mvnsite 0m 22s trunk passed
        +1 mvnsite 0m 18s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 asflicense 0m 33s Patch does not generate ASF License warnings.
        1m 41s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:0ca8df7
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12783096/YARN-4608.01.patch
        JIRA Issue YARN-4608
        Optional Tests asflicense mvnsite
        uname Linux 2108267d2ffa 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 / 4992398
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
        Max memory used 29MB
        Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/10357/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 0s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvnsite 0m 22s trunk passed +1 mvnsite 0m 18s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 asflicense 0m 33s Patch does not generate ASF License warnings. 1m 41s Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12783096/YARN-4608.01.patch JIRA Issue YARN-4608 Optional Tests asflicense mvnsite uname Linux 2108267d2ffa 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 / 4992398 modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Max memory used 29MB Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-YARN-Build/10357/console This message was automatically generated.
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 0s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 mvnsite 0m 13s trunk passed
        +1 mvnsite 0m 13s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 asflicense 0m 18s Patch does not generate ASF License warnings.
        1m 1s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:0ca8df7
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12783096/YARN-4608.01.patch
        JIRA Issue YARN-4608
        Optional Tests asflicense mvnsite
        uname Linux 95928e7e95a0 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 / 4992398
        modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site
        Max memory used 29MB
        Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/10358/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 0s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvnsite 0m 13s trunk passed +1 mvnsite 0m 13s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 asflicense 0m 18s Patch does not generate ASF License warnings. 1m 1s Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12783096/YARN-4608.01.patch JIRA Issue YARN-4608 Optional Tests asflicense mvnsite uname Linux 95928e7e95a0 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 / 4992398 modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site Max memory used 29MB Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-YARN-Build/10358/console This message was automatically generated.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk, branch-2, and branch-2.8. Thanks Kai Sasaki for the contribution.

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk, branch-2, and branch-2.8. Thanks Kai Sasaki for the contribution.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #9151 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9151/)
        YARN-4608. Redundant code statement in WritingYarnApplications. (aajisaka: rev 3ac9511da2c0ac815d96713aec099fa87daef648)

        • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #9151 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9151/ ) YARN-4608 . Redundant code statement in WritingYarnApplications. (aajisaka: rev 3ac9511da2c0ac815d96713aec099fa87daef648) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md hadoop-yarn-project/CHANGES.txt

          People

          • Assignee:
            lewuathe Kai Sasaki
            Reporter:
            lewuathe Kai Sasaki
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development