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

loadGenerator exit code is not reliable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.4.0
    • tools
    • None
    • 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.002.patch
          7 kB
          Haohui Mai
        2. HADOOP-10328.001.patch
          7 kB
          Haohui Mai
        3. HADOOP-10328.000.patch
          7 kB
          Haohui Mai

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: