Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2819

extend JobClient.runJob(JobConf) with the ability to take a timeout, so fail better during test runs

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: test
    • Labels:
      None

      Description

      Tests that submit jobs via JobClient hang until they are killed if something goes wrong in the back end -JobClient does not impose limits on how long runs should take, but JUnit does. If we had an overload of runJob() that took a timeout, JobClient could kill a job that was taking too long, extracting the stack trace and better diagnostics to the test reports.

        Activity

        Hide
        Steve Loughran added a comment -

        Obsoleted in YARN

        Show
        Steve Loughran added a comment - Obsoleted in YARN

          People

          • Assignee:
            Steve Loughran
            Reporter:
            Steve Loughran
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development