In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install and configure Sqoop for everyone. Xiaobian thinks it is quite practical, so share it with everyone for a reference. I hope you can gain something after reading this article.
Sqoop is an open source tool for transferring data between Hadoop and traditional relational databases.
1. download
hadoop@dblab:/usr/local$ sudo wget http://mirror.bit.edu.cn/apache/sqoop/1.4.7/sqoop-1.4.7.bin__hadoop-2.6.0.tar.gz
hadoop@dblab:/usr/local$ sudo tar -zxvf sqoop-1.4.7.bin__hadoop-2.6.0.tar.gz
hadoop@dblab:/usr/local$ sudo mv sqoop-1.4.7.bin__hadoop-2.6.0 sqoop
hadoop@dblab:/usr/local$ sudo chown -R hadoop:hadoop sqoop
2. modify the configuration file
hadoop@dblab:/usr/local/sqoop/conf$ cat sqoop-env-template.sh >> sqoop-env.sh
hadoop@dblab:/usr/local/sqoop/conf$ vim sqoop-env.sh
hadoop@dblab:/usr/local/sqoop/conf$ vim sqoop-env.sh
export HADOOP_COMMON_HOME=/usr/local/hadoop
export HADOOP_MAPRED_HOME=/usr/local/hadoop
export HBASE_HOME=/usr/local/hbase
export HIVE_HOME=/usr/local/hive
3. Configure environment variables
hadoop@dblab:/usr/local/sqoop/conf$ vim ~/.bashrc
export SQOOP_HOME=/usr/local/sqoop
export PATH=$PATH:$SBT_HOME/bin:$$QOOP_HOME/bin
export CLASSPATH=$CLASSPATH:$SQOOP_HOME/lib
hadoop@dblab:/usr/local/sqoop/conf$ source ~/.bashrc
There are also problems with the above.
About "Sqoop how to install configuration" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.