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

Admin command line should print message to stderr in failure case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • 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.01.patch
          4 kB
          Kai
        2. HDFS-11516.02.patch
          11 kB
          Kai
        3. HDFS-11516.03.patch
          11 kB
          Kai

        Activity

          People

            lewuathe Kai
            lewuathe Kai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: