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 0C8FF7EB2 for ; Wed, 21 Dec 2011 20:17:53 +0000 (UTC) Received: (qmail 50036 invoked by uid 500); 21 Dec 2011 20:17:52 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 49967 invoked by uid 500); 21 Dec 2011 20:17:52 -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 49959 invoked by uid 99); 21 Dec 2011 20:17:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2011 20:17:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,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, 21 Dec 2011 20:17:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D933312246B for ; Wed, 21 Dec 2011 20:17:30 +0000 (UTC) Date: Wed, 21 Dec 2011 20:17:30 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <687682423.36848.1324498650891.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1919392565.51249.1323297281472.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7890) Redirect hadoop script's deprecation message to stderr 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-7890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174384#comment-13174384 ] Hudson commented on HADOOP-7890: -------------------------------- Integrated in Hadoop-Mapreduce-trunk-Commit #1486 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1486/]) HADOOP-7890. Redirect hadoop script's deprecation message to stderr. (Koji Knoguchi via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1221849 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop > Redirect hadoop script's deprecation message to stderr > ------------------------------------------------------ > > Key: HADOOP-7890 > URL: https://issues.apache.org/jira/browse/HADOOP-7890 > Project: Hadoop Common > Issue Type: Improvement > Components: scripts > Affects Versions: 0.23.0 > Reporter: Koji Noguchi > Assignee: Koji Noguchi > Priority: Trivial > Fix For: 0.23.1 > > Attachments: HADOOP-7890-v1.patch > > > $ hadoop dfs -ls > DEPRECATED: Use of this script to execute hdfs command is deprecated. > Instead use the hdfs command for it. > ... > If we're still letting the command run, I think we should redirect the deprecation message to stderr in case users have a script taking the output from stdout. -- 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