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

loadGenerator exit code is not reliable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: tools
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      LoadGenerator exit code is determined using the following logic

      int exitCode = init(args);
          if (exitCode != 0) {
            return exitCode;
          }
      

      At the end of the run we just return the exitCode. So essentially if you are arguments are correct you will always get 0 back.

        Attachments

        1. HADOOP-10328.000.patch
          7 kB
          Haohui Mai
        2. HADOOP-10328.001.patch
          7 kB
          Haohui Mai
        3. HADOOP-10328.002.patch
          7 kB
          Haohui Mai

          Issue Links

            Activity

              People

              • Assignee:
                wheat9 Haohui Mai
                Reporter:
                arpitgupta Arpit Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: