Command Line Upgrade
Also available as:
PDF
loading table of contents...

Configure and Start Apache Sqoop

  1. Replace your configuration after upgrading.

    Copy /etc/sqoop/conf from the template to the conf directory in sqoop hosts.

  2. Upload the Apache Sqoop tarball to HDFS. As the <HDFS_User>, for example 'hdfs':

    su -c "hdfs dfs -mkdir -p /hdp/apps/2.5.5.0-<$version>/sqoop"

    hdfs su -c "hdfs dfs -chmod -R 555 /hdp/apps/2.5.5.0-<$version>/sqoop"

    hdfs su -c "hdfs dfs -chown -R hdfs:hadoop /hdp/apps/2.5.5.0-<$version>/sqoop"

    hdfs su -c "hdfs dfs -put /usr/hdp/2.5.5.0-<$version>/sqoop/sqoop.tar.gz /hdp/apps/2.5.5.0-<$version>/sqoop/sqoop.tar.gz"

    hdfs su -c "hdfs dfs -chmod 444 /hdp/apps/2.5.5.0-<$version>/sqoop/sqoop.tar.gz" hdfs