vim sqoop-env.sh
export HADOOP_HOME=/apps/hadoop export HADOOP_MAPRED_HOME=/apps/hadoop export HIVE_HOME=/apps/hive export ZOOKEEPER_HOME=/apps/zookeeper export ZOOCFGDIR=/apps/zookeeper/conf export HBASE_HOME=/apps/hbase
将jdbc驱动包放置sqoop/lib下