当前位置:网站首页>[sqoop] sqoop 1.4.7 installation integration cdh5.13
[sqoop] sqoop 1.4.7 installation integration cdh5.13
2022-07-28 17:27:00 【kiraraLou】
Preface
Use apache sqoop Integrate CDH5.13.
One 、 download
Download address : http://archive.apache.org/dist/sqoop/
Connections used here :
http://archive.apache.org/dist/sqoop/1.4.7/sqoop-1.4.7.bin__hadoop-2.6.0.tar.gz
Two 、 install
1. decompression
tar -xzvf sqoop-1.4.7.bin__hadoop-2.6.0.tar.gz -C /home/rong/
2. rename
mv sqoop-1.4.7.bin__hadoop-2.6.0 sqoop-1.4.7
3. Soft connection
ln -s sqoop-1.4.7 sqoop
4. Configure environment variables
vim /etc/profile
Add the following :
export SQOOP_HOME=/home/rong/sqoop-1.4.7
export PATH=$SQOOP_HOME/bin:$PATH
5. To configure conf
a. Change file name
cp ${SQOOP_HOME}/conf/sqoop-env-template.sh sqoop-env.sh
b. Modify file content
vi sqoop-env.sh
Set the following :
#Set path to where bin/hadoop is available
#
export HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH/lib/hadoop
#Set path to where hadoop-*-core.jar is available
export HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH/lib/hadoop-yarn
#set the path to where bin/hbase is available
export HBASE_HOME=/opt/cloudera/parcels/CDH/lib/hbase
#Set the path to where bin/hive is available
export HIVE_HOME=/opt/cloudera/parcels/CDH/lib/hive
export HIVE_CONF_DIR=/etc/hive/conf
#Set the path for where zookeper config dir is
export ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH/lib/zookeeper
export ZOOCFGDIR=/etc/zookeeper/conf/
If it works CDH colony , Then this basically does not need to be changed
6. Copy jar package
cp /opt/cloudera/parcels/CDH/lib/hive/lib/hive-exec.jar /home/rong/sqoop/lib/
cp /opt/cloudera/parcels/CDH/lib/hive/lib/hive-common.jar /home/rong/sqoop/lib/
cp /opt/cloudera/parcels/CDH/lib/hadoop/hadoop-common.jar /home/rong/sqoop/lib/
verification
${SQOOP_HOME}/bin/sqoop-version
边栏推荐
- 【presto】presto 常用的命令
- Andthen of function interface
- Goweb开发之Beego框架实战:第四节 数据库配置及连接
- Atcoder beginer contest 240 g.reporting Takahashi (classical problems of Combinatorial Mathematics)
- Message Passing for Complex Question Answering over Knowledge Graphs
- The maximum recommended number of rows for MySQL is 2000W. Is it reliable?
- Verilog 每日一题(VL26 简易秒表)
- C# 导入Excel文件数据的几种方法
- 【atlas】atlas 编译报错整理(全)
- 软考回顾总结
猜你喜欢

线性代数及矩阵论(七)

Steps to configure V530 switch

kubernetes service 原理解析

Verilog daily question (vl26 simple stopwatch)

net框架

Gray code and binary conversion and typical examples (4bits gray code counter)

Zero foundation uses unity3d to develop AR applications and download 3D models remotely

利用SQL Server代理作业对数据库进行定时还原

微服务架构-服务注册中心和服务网关(6.8) (转载)

Selection and application of capacitor in high speed circuit -- detailed explanation
随机推荐
MySQL数据库增删改查(基础操作命令详解)
Net framework
kubernetes service 原理解析
Jupyter notebook win installation record
格雷码和二进制的转换及典型例题(4bits格雷码计数器)
部分情况下Error:(xx, xx) Failed to resolve: xxxxxx解决。
我为什么选择使用Go语言?
Classroom attendance system based on QT design (using RDS for MySQL cloud database)
全链路灰度在数据库上我们是怎么做的?
Using SQL server agent job to restore the database regularly
Shopee code League 2022 - qualification round p3.connecting the numbers (segment tree / bipartite graph determination, to be discussed)
【impala】【报错解决】 Impala cannot read or execute the parent directory of dfs.domain.socket.path的解决方法
QR code generation of wechat applet with parameters
Use Alibaba cloud's free SSL certificate
【kibana】问题整理 kibana 7.x No indices match pattern “apm-*“
线性代数及矩阵论(七)
Verilog daily question (vl6 data series to parallel circuit)
Why do I choose to use go language?
Valarray Library Learning
Solve the problem of exclusive SQL Server database