Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED82D924E for ; Wed, 2 May 2012 23:28:23 +0000 (UTC) Received: (qmail 54137 invoked by uid 500); 2 May 2012 23:28:23 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 54106 invoked by uid 500); 2 May 2012 23:28:23 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 54098 invoked by uid 99); 2 May 2012 23:28:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 23:28:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 23:28:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 11B5B42CAA4 for ; Wed, 2 May 2012 23:28:02 +0000 (UTC) Date: Wed, 2 May 2012 23:28:02 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <590618965.19423.1336001282135.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1560059506.18226.1332783029629.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8214) make hadoop script recognize a full set of deprecated commands MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267021#comment-13267021 ] Hudson commented on HADOOP-8214: -------------------------------- Integrated in Hadoop-Hdfs-trunk-Commit #2249 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2249/]) HADOOP-8214. make hadoop script recognize a full set of deprecated commands (rvs via tucu) (Revision 1333231) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333231 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop > make hadoop script recognize a full set of deprecated commands > -------------------------------------------------------------- > > Key: HADOOP-8214 > URL: https://issues.apache.org/jira/browse/HADOOP-8214 > Project: Hadoop Common > Issue Type: Improvement > Components: scripts > Affects Versions: 0.23.1 > Reporter: Roman Shaposhnik > Assignee: Roman Shaposhnik > Fix For: 2.0.0 > > Attachments: HADOOP-8214.patch.txt > > > bin/hadoop launcher script does a nice job of recognizing deprecated usage and vectoring users towards the proper command line tools (hdfs, mapred). It would be nice if we can take care of the following deprecated commands that don't get the same special treatment: > {noformat} > oiv apply the offline fsimage viewer to an fsimage > dfsgroups get the groups which users belong to on the Name Node > mrgroups get the groups which users belong to on the Job Tracker > mradmin run a Map-Reduce admin client > jobtracker run the MapReduce job Tracker node > tasktracker run a MapReduce task Tracker node > {noformat} > Here's what I propos to do with them: > # oiv -- issue DEPRECATED warning and run hdfs oiv > # dfsgroups -- issue DEPRECATED warning and run hdfs groups > # mrgroups -- issue DEPRECATED warning and run mapred groups > # mradmin -- issue DEPRECATED warning and run yarn rmadmin > # jobtracker -- issue DEPRECATED warning and do nothing > # tasktracker-- issue DEPRECATED warning and do nothing > Thoughts? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira