当前位置:网站首页>[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
边栏推荐
- Linear algebra and matrix theory (IX)
- 2022牛客多校第二场CDE
- 【impala】【报错解决】 Impala cannot read or execute the parent directory of dfs.domain.socket.path的解决方法
- Round 1A 2022 - Code jam 2022 c.weightlifting (interval DP)
- DGL Chapter 1 (official tutorial) personal notes
- Goweb开发之Beego框架实战:第二节 项目初始化配置
- Leetcode 2022.04.10 China Merchants Bank special competition D. store promotion (DP)
- Verilog 每日一题 (VL28 加减计数器)
- 软考回顾总结
- Verilog daily question (vl14 vending machine 1 -- FSM common question types)
猜你喜欢

Microservice Architecture - service registry and service gateway (6.8) (Reprint)

Application system log structure of elastic stack

The practice of beego framework developed by goweb: Section 4 database configuration and connection

Shopee code League 2022 - qualification round p3.connecting the numbers (segment tree / bipartite graph determination, to be discussed)

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

Valarray Library Learning

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

The practice of the beego framework for goweb development: Section V project construction and user registration

The actual combat of the beego framework of goweb development: Section III program execution process analysis

Verilog daily question (vl14 vending machine 1 -- FSM common question types)
随机推荐
如何在构建阶段保护镜像安全
Verilog 每日一题 (VL27 可置位计数器)
Batch download files
Cf/atc/lc topic score website
Linear algebra and matrix theory (10)
Leetcode 2022.04.10 China Merchants Bank special competition D. store promotion (DP)
Jupyter notebook win installation record
一文了解 Kubernetes 中的服务发现
Kubernetes service and ingress you need to master
零基础利用Unity3D开发AR应用并远程下载3D模型
Round 1A 2022 - Code jam 2022 c.weightlifting (interval DP)
Verilog daily question (vl6 data series to parallel circuit)
【CDH】通过 ClouderaManager 配置CDH组件用 prometheus 监控采集JMX信息
Verilog 每日一题 (VL30 RAM的简单实现)
valarray数值库学习
Reasoning Over Semantic-Level Graph for Fact Checking
The actual combat of the beego framework of goweb development: Section III program execution process analysis
Pytorch Foundation: similarities and differences between torch.mul, torch.mm and torch.matmul
带参数的微信小程序二维码生成
GEAR: Graph-based Evidence Aggregating and Reasoning for Fact Verification