[ https://issues.apache.org/jira/browse/HADOOP-13335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365418#comment-15365418 ]
Allen Wittenauer commented on HADOOP-13335: ------------------------------------------- bq. It is going to be hard to remove either of these. I don't know when something that has been deprecated in a previous release has actually been removed. There have been a ton of removals all over the place in trunk already. S3, hftp, ... lots and lots of places. Bear in mind that the last opportunity Hadoop had to remove content was over five years ago. bq. If hadoop jar and yarn jar should behave the same Once again: they do not. I'm not sure how many more and different ways I can state this point. The rest of that discussion is pretty much moot since the first opportunity to make them function the same will be 4.x, easily years off. bq. This is arguable - but printing a new warning in the 2.7.0 release can be considered to be an incompatible change. Deprecation warnings have always been added to the output throughout the history of Hadoop. Expect a lot more to show up in trunk. > 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 WARNING. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org