Configure and Start Apache Sqoop
Before you can upgrade Apache Sqoop, you must have first upgraded your HDP components to the latest version (in this case, 2.3.6). This section assumes that you have already upgraded your components for HDP 2.3.6. If you have not already completed these steps, return to Getting Ready to Upgrade and Upgrade 1.3 Components for instructions on how to upgrade your HDP components to 2.3.6.
Replace your configuration after upgrading.
Copy /etc/sqoop/conf from the template to the conf directory in sqoop hosts.
Upload the Sqoop tarball to HDFS. As the <HDFS_User>, for example 'hdfs':
su -c "hdfs dfs -mkdir -p /hdp/apps/2.3.6.0-$BUILD/sqoop"
hdfs su -c "hdfs dfs -chmod -R 555 /hdp/apps/2.3.6.0-$BUILD/sqoop"
hdfs su -c "hdfs dfs -chown -R hdfs:hadoop /hdp/apps/2.3.6.0-$BUILD/sqoop"
hdfs su -c "hdfs dfs -put /usr/hdp/2.3.6.0-$BUILD/sqoop/sqoop.tar.gz /hdp/apps/2.3.6.0-$BUILD/sqoop/sqoop.tar.gz"
hdfs su -c "hdfs dfs -chmod 444 /hdp/apps/2.3.6.0-$BUILD/sqoop/sqoop.tar.gz" hdfs