java.lang.IllegalStateException: Job in state RUNNING instead of DEFINE

Stack Overflow | cody123 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Second MR job is not terminating in Hadoop

    Stack Overflow | 6 months ago | cody123
    java.lang.IllegalStateException: Job in state RUNNING instead of DEFINE
  2. 0

    Hadoop Map Reduce] errors when implementing chaining mapreduce (two mapreduces)

    Stack Overflow | 3 years ago | user3067818
    java.lang.IllegalStateException: Job in state RUNNING instead of DEFINE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Job in state RUNNING instead of DEFINE

      at org.apache.hadoop.mapreduce.Job.ensureState()
    2. Hadoop
      JobControl.run
      1. org.apache.hadoop.mapreduce.Job.ensureState(Job.java:294)
      2. org.apache.hadoop.mapreduce.Job.submit(Job.java:1288)
      3. org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.submit(ControlledJob.java:335)
      4. org.apache.hadoop.mapreduce.lib.jobcontrol.JobControl.run(JobControl.java:240)
      4 frames
    3. com.hadoop.intellipaat
      JoinClickImpressionDetailJob.run
      1. com.hadoop.intellipaat.JoinClickImpressionDetailJob.runMRJobs(JoinClickImpressionDetailJob.java:353)
      2. com.hadoop.intellipaat.JoinClickImpressionDetailJob.run(JoinClickImpressionDetailJob.java:421)
      2 frames
    4. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      1 frame
    5. com.hadoop.intellipaat
      JoinClickImpressionDetailJob.main
      1. com.hadoop.intellipaat.JoinClickImpressionDetailJob.main(JoinClickImpressionDetailJob.java:309)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      2. org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      2 frames