You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Koji Noguchi (Updated) (JIRA)" <ji...@apache.org> on 2011/12/07 23:36:41 UTC

[jira] [Updated] (HADOOP-7890) Redirect hadoop script's deprecation message to stderr

     [ https://issues.apache.org/jira/browse/HADOOP-7890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Noguchi updated HADOOP-7890:
---------------------------------

    Attachment: HADOOP-7890-v1.patch

Trivial patch.  No test included since it's just changing the warning(deprecation) message.
                
> 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
>         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