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


$ 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

        

Reply via email to