sqoop-1.4.6-cdh5.13.2.tar

时间:2022-01-08 08:57:14
【文件属性】:

文件名称:sqoop-1.4.6-cdh5.13.2.tar

文件大小:29.28MB

文件格式:GZ

更新时间:2022-01-08 08:57:14

sqoop CDH

sqoopCDH版本 1、sqoop的解压并配置环境变量: tar -zxvf /bigdata/sqoop-1.4.6-cdh5.13.2.tar.gz -C /usr/local 配置环境变量: vi /etc/profile export SQOOP_HOME=/usr/local/sqoop-1.4.6-cdh5.13.2 export PATH=$PATH:$SQOOP_HOME/bin: 重新加载环境变量: source /etc/profile which sqoop 2、配置sqoop的环境配置文件: mv /usr/local/sqoop-1.4.6-cdh5.13.2/conf/sqoop-env.template.sh /usr/local/sqoop-1.4.6-cdh5.13.2/conf/sqoop-env.sh vi /usr/local/sqoop-1.4.6-cdh5.13.2/conf/sqoop-env.sh export HADOOP_COMMON_HOME=/usr/local/hadoop-2.6.0-cdh5.13.2 export HADOOP_MAPRED_HOME=/usr/local/hadoop-2.6.0-cdh5.13.2 export HBASE_HOME=/usr/local/hbase-1.2.0-cdh5.13.2 export HIVE_HOME=/usr/local/hive-1.1.0-cdh5.13.2 #export ZOOCFGDIR= 3、将mysql的驱动包copy到sqoop目录中的lib目录下: cp /bigdata/mysql-connector-java-5.1.32.jar /usr/local/sqoop-1.4.6-cdh5.13.2/lib 4、测试 sqoop version


网友评论