0

Number of reduce tasks is set to 0 since there's no reduce operator

Job running in-process (local Hadoop)

2017-03-23 12:19:17,371 Stage-1 map = 0%, reduce = 0%

Ended Job = job_local1571094051_0001 with errors Error during job, obtaining debugging information... FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask MapReduce Jobs Launched:

Stage-Stage-1: HDFS Read: 16384 HDFS Write: 10596 FAIL

2

1 Answer 1

1

set below property before inserting.

SET hive.exec.dynamic.partition = true;
SET hive.exec.dynamic.partition.mode = nonstrict;
SET hive.exec.max.dynamic.partitions = 10000;
SET hive.exec.max.dynamic.partitions.pernode = 1000;
Sign up to request clarification or add additional context in comments.

2 Comments

Bless you. Took me forever to stumble here and it worked!
it’s not working for my case. need help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.