cascading.CascadingException: hive error 'FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask' while running query insert overwrite table keyvalue select 'Hello' as key, 'hive!' as value from dual

Google Groups | PaulON | 2 years 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

    Problems using HiveFlow

    Google Groups | 2 years ago | PaulON
    cascading.CascadingException: hive error 'FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask' while running query insert overwrite table keyvalue select 'Hello' as key, 'hive!' as value from dual

    Root Cause Analysis

    1. cascading.CascadingException

      hive error 'FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask' while running query insert overwrite table keyvalue select 'Hello' as key, 'hive!' as value from dual

      at cascading.flow.hive.HiveQueryRunner.run()
    2. cascading.flow.hive
      HiveQueryRunner.call
      1. cascading.flow.hive.HiveQueryRunner.run(HiveQueryRunner.java:131)
      2. cascading.flow.hive.HiveQueryRunner.call(HiveQueryRunner.java:167)
      3. cascading.flow.hive.HiveQueryRunner.call(HiveQueryRunner.java:41)
      3 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames