Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Oozie streaming fails: stream.map.streamprocessor not set In JobConf [CDH 5.2]

avatar
Explorer

 Hi,

 

We have CDH 5.1 running on production for a few month already with no issues.

Recently we've created another cluster for qa environment and installed CDH 5.2 through Cloudera Manager.

And when we tried to some Oozie workflows (the same jobs as on production) we got following error:

 

Error: java.io.IOException: Type mismatch in key from map: expected org.apache.hadoop.io.LongWritable, received org.apache.hadoop.io.Text

 

I've figured this error occured because hadoop tried to use IdentityMapper class instead of our streaming processors.

I've tried a lot of different options but nothing helped so far.

 

The closest I could get is to compare actual jobConf files that we get on production (CDH 5.1) and on new cluster (CDH 5.2). And I figured that on new cluster jobConf doesn't contain following properties:

 

stream.map.streamprocessor

stream.reduce.streamprocessor

 

which if I understand correctly are used by hadoop-streaming.jar

 

Have no idea where to look next.

I would really appreciate any help with this issue. 

 

Thanks,

Anatoly

Who agreed with this topic