当前位置:网站首页>[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
边栏推荐
- How to protect image security during construction
- 2022 Niuke multi school second CDE
- List of supplementary questions
- Atcoder beginer contest 240 g.reporting Takahashi (classical problems of Combinatorial Mathematics)
- Jupyter notebook win installation record
- Goweb开发之Beego框架实战:第二节 项目初始化配置
- Several methods of importing excel file data by C #
- Algorithm learning: leetcode interview question 09. implement queue with two stacks
- 2021年4月份自考
- 高速电路中电阻的选择
猜你喜欢

kubernetes service 原理解析

How to protect image security during construction

WPF command button transparent style

Educational codeforces round 126 (rated for Div. 2) f.teleporters (two sets and two points)

Classroom attendance system based on QT design (using RDS for MySQL cloud database)

Steps to configure V530 switch

连接设计与测试平台——SystemVerilog 接口知识点总结

我为什么选择使用Go语言?

Use of influxdb2

Reasoning Over Semantic-Level Graph for Fact Checking
随机推荐
MySQL详细学习教程(建议收藏)
Vscode界面介绍
Linear algebra and matrix theory (7)
Azure Devops developed by visual studio 2015 team
Make full use of English
The practice of the beego framework of goweb development: Section II project initialization configuration
Algorithm learning: leetcode interview question 09. implement queue with two stacks
Verilog daily question (vl24 multi bit MUX synchronizer cross time domain output)
Educational codeforces round 126 (rated for Div. 2) f.teleporters (two sets and two points)
Round 1A 2022 - Code jam 2022 c.weightlifting (interval DP)
Linear algebra and matrix theory (IX)
High speed circuit design practice -- Overview
线性代数及矩阵论(九)
Verilog 每日一题(VL26 简易秒表)
The maximum recommended number of rows for MySQL is 2000W. Is it reliable?
【sqoop】sqoop1.4.7 安装集成CDH5.13
Steps to configure V530 switch
在android开发过程中遇到.sqlite文件处理
Differences between CNSA and CASC and CASIC
一文了解 Kubernetes 中的服务发现