hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12803) RunJar should allow overriding the manifest Main-Class via a cli parameter.
Date Thu, 03 Mar 2016 19:16:18 GMT

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

Jason Lowe commented on HADOOP-12803:
-------------------------------------

bq. Can we just parse manually the arg -Dhadoop.util.runjar.main-class without GOP?

No.  With or without the GOP trying to parse -D is going to break any existing jar with a
defined main class in the mainfest which itself uses the GOP or expects -D flags.

> 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
>
>
> 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)

Mime
View raw message