hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Seth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13335) Add an option to suppress the 'use yarn jar' warning or remove it
Date Thu, 07 Jul 2016 18:39:11 GMT

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

Siddharth Seth commented on HADOOP-13335:

bq. It's not and I'm still not sure why you seem to insist this is true when both Vinod and
I have said that there isn't any intent on it going away anytime remotely soon.
Anytime soon - no. From your comments, it does look like at least you think this is a candidate
for 4.x removal.

In terms of Hive (for 2.x) - yes, an unset works - for the most part anyway. However, this
warning is not required - and should not be seen by other systems / users. Unsetting variables
is a way to suppress the message, however it isn't an optimal or efficient way to do this.
Is this deprecation, what's the public API?

There's multiple options here.
1. Get rid of the warning altogether - which I think is the correct thing to do. (Haven't
heard a good reason to keep it)
2. Add a variable to deprecate this specific warning.
3. Add an option to deprecate all such warnings (and apparently there's a lot of these in

> Add an option to suppress the 'use yarn jar' warning or remove it
> -----------------------------------------------------------------
>                 Key: HADOOP-13335
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13335
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.7.0
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: HADOOP-13335.01.patch, HADOOP-13335.02.patch, HADOOP-13335.02_branch-2.patch,
HADOOP-13335.03.patch, HADOOP-13335.03_branch-2.patch, HADOOP-13335.04.patch
> https://issues.apache.org/jira/browse/HADOOP-11257 added a 'deprecation' warning for
'hadoop jar'.
> hadoop jar is used for a lot more that starting jobs. As an example - hive uses it to
start all it's services (HiveServer2, the hive client, beeline etc).
> Using 'yarn jar' for to start these services / tools doesn't make a lot of sense - there's
no relation to yarn other than requiring the classpath to include yarn libraries.
> I'd propose reverting the changes where this message is printed if YARN variables are
set (leave it in the help message), or adding a mechanism which would allow users to suppress

This message was sent by Atlassian JIRA

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

View raw message