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

Redirect hadoop script's deprecation message to stderr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • scripts
    • None
    • 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

        1. HADOOP-7890-v1.patch
          0.8 kB
          Koji Noguchi

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: