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

yarn cmd says "could not find main class 'queue'" in windows

    Details

    • Target Version/s:

      Description

      Attached the screenshot of the command prompt in windows running yarn queue command.

      1. YARN-3681.0.patch
        0.6 kB
        Craig Welch
      2. YARN-3681.01.patch
        0.6 kB
        Varun Saxena
      3. YARN-3681.1.patch
        0.6 kB
        Craig Welch
      4. YARN-3681.branch-2.0.patch
        0.7 kB
        Craig Welch
      5. yarncmd.png
        129 kB
        Sumana Sathish

        Activity

        Hide
        varun_saxena Varun Saxena added a comment -

        Attaching a trivial patch. This should fix the issue

        Show
        varun_saxena Varun Saxena added a comment - Attaching a trivial patch. This should fix the issue
        Hide
        hadoopqa Hadoop QA added a comment -



        +1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 0m 0s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 release audit 0m 14s The applied patch does not increase the total number of release audit warnings.
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
            0m 19s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12733860/YARN-3681.01.patch
        Optional Tests  
        git revision trunk / de30d66
        Java 1.7.0_55
        uname Linux asf905.gq1.ygridcore.net 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
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/8002/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 pre-patch 0m 0s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 14s The applied patch does not increase the total number of release audit warnings. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     0m 19s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12733860/YARN-3681.01.patch Optional Tests   git revision trunk / de30d66 Java 1.7.0_55 uname Linux asf905.gq1.ygridcore.net 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 Console output https://builds.apache.org/job/PreCommit-YARN-Build/8002/console This message was automatically generated.
        Hide
        vinodkv Vinod Kumar Vavilapalli added a comment -

        Sounds like a 2.7.1 blocker to me..

        Show
        vinodkv Vinod Kumar Vavilapalli added a comment - Sounds like a 2.7.1 blocker to me..
        Hide
        cwelch Craig Welch added a comment -

        Tested my own version of this patch yesterday which does the same thing and works, so +1 LGTM

        Show
        cwelch Craig Welch added a comment - Tested my own version of this patch yesterday which does the same thing and works, so +1 LGTM
        Hide
        cwelch Craig Welch added a comment -

        Varun Saxena the patch you had doesn't apply properly for me, I've uploaded a patch which does the same things which does, and which I've had the opportunity to test.

        @xgong, can you take a look at this one (.0.patch)? Thanks.

        Show
        cwelch Craig Welch added a comment - Varun Saxena the patch you had doesn't apply properly for me, I've uploaded a patch which does the same things which does, and which I've had the opportunity to test. @xgong, can you take a look at this one (.0.patch)? Thanks.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        -1 patch 0m 0s The patch command could not apply the patch during dryrun.



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12734163/YARN-3681.0.patch
        Optional Tests  
        git revision trunk / 4aa730c
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/8026/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 patch 0m 0s The patch command could not apply the patch during dryrun. Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12734163/YARN-3681.0.patch Optional Tests   git revision trunk / 4aa730c Console output https://builds.apache.org/job/PreCommit-YARN-Build/8026/console This message was automatically generated.
        Hide
        cwelch Craig Welch added a comment -

        Oh the irony, neither did my own. Updated to one which does.

        Show
        cwelch Craig Welch added a comment - Oh the irony, neither did my own. Updated to one which does.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        -1 patch 0m 0s The patch command could not apply the patch during dryrun.



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12734165/YARN-3681.1.patch
        Optional Tests  
        git revision trunk / 4aa730c
        Console output https://builds.apache.org/job/PreCommit-YARN-Build/8027/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 patch 0m 0s The patch command could not apply the patch during dryrun. Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12734165/YARN-3681.1.patch Optional Tests   git revision trunk / 4aa730c Console output https://builds.apache.org/job/PreCommit-YARN-Build/8027/console This message was automatically generated.
        Hide
        varun_saxena Varun Saxena added a comment -

        Craig Welch, it has to do with line endings.
        I have to run unix2dos to convert line endings for Jenkins to accept it. Windows batch files patches do not always apply depending on settings of line endings done by the user. I think my patch did not apply for you because of that reason.

        Show
        varun_saxena Varun Saxena added a comment - Craig Welch , it has to do with line endings. I have to run unix2dos to convert line endings for Jenkins to accept it. Windows batch files patches do not always apply depending on settings of line endings done by the user. I think my patch did not apply for you because of that reason.
        Hide
        xgong Xuan Gong added a comment -

        Use git apply -p0 --whitespace=fix could apply the patch.
        The patch looks good to me.
        +1 will commit

        Show
        xgong Xuan Gong added a comment - Use git apply -p0 --whitespace=fix could apply the patch. The patch looks good to me. +1 will commit
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7875 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7875/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7875 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7875/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd hadoop-yarn-project/CHANGES.txt
        Hide
        cwelch Craig Welch added a comment -

        Here is one for branch-2

        Show
        cwelch Craig Welch added a comment - Here is one for branch-2
        Hide
        xgong Xuan Gong added a comment -

        Committed into trunk/branch-2/branch-2.7. Thanks, craig and varun

        Show
        xgong Xuan Gong added a comment - Committed into trunk/branch-2/branch-2.7. Thanks, craig and varun
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk #934 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/934/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #934 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/934/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #203 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/203/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #203 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/203/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2132 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2132/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2132 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2132/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #202 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/202/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #202 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/202/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd hadoop-yarn-project/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #192 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/192/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/CHANGES.txt
        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #192 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/192/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/CHANGES.txt hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2150 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2150/)
        YARN-3681. yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176)

        • hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd
        • hadoop-yarn-project/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2150 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2150/ ) YARN-3681 . yarn cmd says "could not find main class 'queue'" in windows. (xgong: rev 5774f6b1e577ee64bde8c7c1e39f404b9e651176) hadoop-yarn-project/hadoop-yarn/bin/yarn.cmd hadoop-yarn-project/CHANGES.txt

          People

          • Assignee:
            varun_saxena Varun Saxena
            Reporter:
            ssathish@hortonworks.com Sumana Sathish
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development