Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9154 Few improvements/bug fixes in offline image viewer and offline edit viewer
  3. HDFS-9159

[OIV] : return value of the command is not correct if invalid value specified in "-p (processor)" option

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Return value of the IOV command is not correct if invalid value specified in "-p (processor)" option

      this needs to return error to user.
      code change will be in switch statement of

       try (PrintStream out = outputFile.equals("-") ?
              System.out : new PrintStream(outputFile, "UTF-8")) {
            switch (processor) {
      

        Attachments

        1. HDFS-9159_01.patch
          2 kB
          nijel
        2. HDFS-9159_02.patch
          2 kB
          nijel
        3. HDFS-9159_03.patch
          2 kB
          nijel

          Activity

            People

            • Assignee:
              nijel nijel
              Reporter:
              nijel nijel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: