Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44EF09A8B for ; Mon, 26 Mar 2012 17:30:52 +0000 (UTC) Received: (qmail 22866 invoked by uid 500); 26 Mar 2012 17:30:50 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 22815 invoked by uid 500); 26 Mar 2012 17:30:50 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 22807 invoked by uid 99); 26 Mar 2012 17:30:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 17:30:50 +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; Mon, 26 Mar 2012 17:30:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 845C4347559 for ; Mon, 26 Mar 2012 17:30:29 +0000 (UTC) Date: Mon, 26 Mar 2012 17:30:29 +0000 (UTC) From: "Roman Shaposhnik (Created) (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <792368832.18224.1332783029557.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 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: 0.23.2 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