You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/10/25 19:43:33 UTC

[jira] [Updated] (YARN-1349) yarn.cmd does not support passthrough to any arbitrary class.

     [ https://issues.apache.org/jira/browse/YARN-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth updated YARN-1349:
--------------------------------

    Attachment: YARN-1349.1.patch

Attaching patch to fix yarn.cmd.  I also needed to add a special case for the classpath sub-command so that it wouldn't try to dispatch to java.  This is identical to how it's handled in hadoop.cmd.

> yarn.cmd does not support passthrough to any arbitrary class.
> -------------------------------------------------------------
>
>                 Key: YARN-1349
>                 URL: https://issues.apache.org/jira/browse/YARN-1349
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: YARN-1349.1.patch
>
>
> The yarn shell script supports passthrough to calling any arbitrary class if the first argument is not one of the per-defined sub-commands.  The equivalent cmd script does not implement this and instead fails trying to do a labeled goto to the first argument.



--
This message was sent by Atlassian JIRA
(v6.1#6144)