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

Apache Sqoop Known Issues

Sqoop 1

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

This problem affects tarball installations only.

Bug: None

Severity: High

Resolution: Use workaround.

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.

— MySQL JDBC driver shipped with CentOS 6 systems does not work with Sqoop

CentOS 6 systems currently ship with version 5.1.17 of the MySQL JDBC driver. This version does not work correctly with Sqoop.

Bug: None

Severity: Medium

Resolution: Use workaround.

Workaround: Install version 5.1.31 of the JDBC driver, following directions in Installing the MySQL JDBC Driver.

Sqoop 2

— Sqoop 2 client cannot be used with a different version of the Sqoop 2 server

The Sqoop 2 client and server must be running the same CDH version.

Bug: None

Severity: Low

Workaround: Make sure all Sqoop 2 components are running the same version of CDH.

— Sqoop 2 works only in a non-secure cluster

Bug: None

Severity: Low

Workaround: Deploy Sqoop 2 only in a non-secure cluster.

— MySQL JDBC driver shipped with CentOS 6 systems does not work with Sqoop

CentOS 6 systems currently ship with version 5.1.17 of the MySQL JDBC driver. This version does not work correctly with Sqoop.

Bug: None

Severity: Medium

Resolution: Use workaround.

Workaround: Install version 5.1.31 of the JDBC driver, following directions in Installing the MySQL JDBC Driver.

Page generated September 3, 2015.