Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7890

Redirect hadoop script's deprecation message to stderr

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      $ 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.

        Attachments

          Activity

            People

            • Assignee:
              knoguchi Koji Noguchi
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: