1.下载sqoop安装包 wget https://mirrors.tuna.tsinghua.edu.cn/apache/sqoop/1.4.6/sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz 2.解压安装包 tar -xzvf /sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz 3.配置hadoop mv s
在此测试的是伪分布式 hadoop1.2.1 sqoop-1.4.4.bin__hadoop-1.0.0 hive-0.12.0 1、数据准备 1.1建立测试用户sqoop grant all privileges on *.* to 'sqoop'@'%' identified by 'sqoop' with grant option; 注意:这一步不是必须,也可以在mysq
1、建立测试用户sqoop,并在测试用户下建立数据哭sqoop和测试数据表employee 在Mysql中创建一个用户名:sqoop,密码:sqoop,并授权 grant all privileges on *.* to 'sqoop'@'%' identified by 'sqoop' with grant option; 可以在Linux命令行(不
1.${SQOOP_HOME}/conf/ $ cp sqoop-env-template.sh sqoop-env.sh //拷贝模板生成配置环境目录 =============修改sqoop-env.sh 配置文件 #Set path to where bin/hadoop is available export HADOOP_COMMON_HOME=/opt/mo