This is the documentation for CDH 5.0.x. Documentation for other versions is available at Cloudera Documentation.

Apache Pig Known Issues

— Hive, Pig, and Sqoop 1 fail in MRv1 tarball installation because /usr/bin/hbase sets HADOOP_MAPRED_HOME to MRv2

This problem affects tarball installations only.

Bug: None

Severity: High

Workaround: If you are using MRv1, edit the following line in /etc/default/hadoop from
 export HADOOP_MAPRED_HOME=/usr/lib/hadoop-mapreduce
to
export HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce 

In addition, /usr/lib/hadoop-mapreduce must not exist in HADOOP_CLASSPATH.

Page generated September 3, 2015.