You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Shlomi Vaknin (JIRA)" <ji...@apache.org> on 2016/06/21 22:30:58 UTC

[jira] [Comment Edited] (HADOOP-12803) RunJar should allow overriding the manifest Main-Class via a cli parameter.

    [ https://issues.apache.org/jira/browse/HADOOP-12803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342911#comment-15342911 ] 

Shlomi Vaknin edited comment on HADOOP-12803 at 6/21/16 10:30 PM:
------------------------------------------------------------------

Until this patch makes it to production, I would highly recommend adding a note of this behavior to the tool's help message.

I just spent a few hours trying to force an emr cluster to use a main class other than the one specified in the manifest, not understanding why it treated it as an argument.. 

Thanks,
Shlomi


was (Author: shlomiv):
Until this patch makes it to production, I would highly recommend adding a note of this behavior to the tool's help message.

I spend a few hours trying to force an emr cluster to use a main class other than the one specified in the manifest, not understanding why it treated it as an argument.. 

Thanks,
Shlomi

> RunJar should allow overriding the manifest Main-Class via a cli parameter.
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-12803
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12803
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 2.6.4
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>         Attachments: HADOOP-12803.001.patch, HADOOP-12803.002.patch, HADOOP-12803.003.patch
>
>
> Currently there is no way to override the main class in the manifest even though main class can be passed as a parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org