Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11516

Admin command line should print message to stderr in failure case

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:
      None

      Description

      AdminHelper and CryptAdmin where prints message to stdout instead of stderr. Since other failure cases prints to stderr, it is necessary to consolidate that manner.

      e.g.

            if (args.size() != 1) {
              System.err.println("You must give exactly one argument to -help.");
              return 0;
            }
      

        Attachments

        1. HDFS-11516.03.patch
          11 kB
          Kai
        2. HDFS-11516.02.patch
          11 kB
          Kai
        3. HDFS-11516.01.patch
          4 kB
          Kai

          Activity

            People

            • Assignee:
              lewuathe Kai
              Reporter:
              lewuathe Kai

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment