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

Failed to execute "yarn application"

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Use the trunk code.

      $ bin/yarn application -list
      16/05/20 11:35:45 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      Exception in thread "main" org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -list
      	at org.apache.commons.cli.Parser.processOption(Parser.java:363)
      	at org.apache.commons.cli.Parser.parse(Parser.java:199)
      	at org.apache.commons.cli.Parser.parse(Parser.java:85)
      	at org.apache.hadoop.yarn.client.cli.ApplicationCLI.run(ApplicationCLI.java:172)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
      	at org.apache.hadoop.yarn.client.cli.ApplicationCLI.main(ApplicationCLI.java:90)
      

      It is cause by that the subcommand 'application' is deleted from command args. The following command is OK.

      $ bin/yarn application application -list
      16/05/20 11:39:35 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):0
                      Application-Id	    Application-Name	    Application-Type	      User	     Queue	             State	       Final-State	       Progress	                       Tracking-URL
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hex108 Jun Gong Assign to me
            hex108 Jun Gong
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment