Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: scripts
    • Labels:

      Description

      The previous version of the yarn command plays games with the command stack for some commands. The new code needs duplicate this wackiness.

      1. YARN-2436.patch
        0.5 kB
        Allen Wittenauer

        Issue Links

          Activity

          Hide
          aw Allen Wittenauer added a comment -

          Specifically from the old code:

          elif [ "$COMMAND" = "application" ] ||
               [ "$COMMAND" = "applicationattempt" ] ||
               [ "$COMMAND" = "container" ]; then
            CLASS=org.apache.hadoop.yarn.client.cli.ApplicationCLI
            YARN_OPTS="$YARN_OPTS $YARN_CLIENT_OPTS"
            set -- $COMMAND $@
          
          Show
          aw Allen Wittenauer added a comment - Specifically from the old code: elif [ "$COMMAND" = "application" ] || [ "$COMMAND" = "applicationattempt" ] || [ "$COMMAND" = "container" ]; then CLASS=org.apache.hadoop.yarn.client.cli.ApplicationCLI YARN_OPTS= "$YARN_OPTS $YARN_CLIENT_OPTS" set -- $COMMAND $@
          Hide
          aw Allen Wittenauer added a comment -

          Simple one line fix.

          Show
          aw Allen Wittenauer added a comment - Simple one line fix.
          Hide
          raviprak Ravi Prakash added a comment -

          Patch lgtm. +1.

          Tested $ yarn application help; without the patch doesn't work, and with the patch works.

          Show
          raviprak Ravi Prakash added a comment - Patch lgtm. +1. Tested $ yarn application help; without the patch doesn't work, and with the patch works.
          Hide
          aw Allen Wittenauer added a comment -

          Committed to trunk.

          Show
          aw Allen Wittenauer added a comment - Committed to trunk.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #6093 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6093/)
          YARN-2436. [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603)

          • /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #6093 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6093/ ) YARN-2436 . [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603 ) /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #654 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/654/)
          YARN-2436. [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603)

          • /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #654 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/654/ ) YARN-2436 . [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603 ) /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #1845 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1845/)
          YARN-2436. [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603)

          • /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #1845 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1845/ ) YARN-2436 . [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603 ) /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1871 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1871/)
          YARN-2436. [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603)

          • /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1871 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1871/ ) YARN-2436 . [post-HADOOP-9902] yarn application help doesn't work (aw: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619603 ) /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn

            People

            • Assignee:
              aw Allen Wittenauer
              Reporter:
              aw Allen Wittenauer
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development