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 4B9D49565 for ; Thu, 3 May 2012 13:03:17 +0000 (UTC) Received: (qmail 68607 invoked by uid 500); 3 May 2012 13:03:17 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 68566 invoked by uid 500); 3 May 2012 13:03:16 -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 68558 invoked by uid 99); 3 May 2012 13:03:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 13:03:16 +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; Thu, 03 May 2012 13:03:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C713242D5FD for ; Thu, 3 May 2012 13:02:52 +0000 (UTC) Date: Thu, 3 May 2012 13:02:52 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <920485789.21580.1336050172817.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 [ https://issues.apache.org/jira/browse/HADOOP-8214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267407#comment-13267407 ] Hudson commented on HADOOP-8214: -------------------------------- Integrated in Hadoop-Hdfs-trunk #1033 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1033/]) HADOOP-8214. make hadoop script recognize a full set of deprecated commands (rvs via tucu) (Revision 1333231) Result = FAILURE 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