91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

安裝sqoop1.99.7

發布時間:2020-03-18 11:00:50 來源:網絡 閱讀:790 作者:白話 欄目:大數據

sqoop2和sqoop1有較大的區別。將整體的ETL過程分割成server和client兩部分執行,sqoop2是交互式的操作。


解壓安裝

[hadoop@fa01 ~]$ tar -zxvf sqoop-1.99.7-bin-hadoop200.tar.gz -C ./

重命名

[hadoop@fa01 ~]$ mv sqoop-1.99.7-bin-hadoop200 sqoop-1.99.7


同時新建一個extra文件,放置mysql的驅動文件(文件名隨意,配置文件相對應上就可以)

[hadoop@fa01 sqoop-1.99.7]$ mkdir extra

[hadoop@fa01 ~]$ mv mysql-connector-java-5.1.5-bin.jar /home/hadoop/sqoop-1.99.7/extra/


配置環境變量。配置sqoop第三方jar包引用變量

[hadoop@fa01 ~]$ vim .bash_profile

export SQOOP_HOME=/home/hadoop/sqoopsqoop-1.99.7

export SQOOP_SERVER_EXTRA_LIB=/home/hadoop/sqoop-1.99.7/extra


修改hadoop的core-site.xml文件,這里的hadoop為用戶名

[hadoop@fa01 ~]$ cd hadoop-2.6.0-cdh6.5.2/etc/hadoop

[hadoop@fa01 hadoop]$ vim core-site.xml

<property>

<name>hadoop.proxyuser.hadoop.hosts</name>

<value>*</value>

</property>

<property>

<name>hadoop.proxyuser.hadoop.groups</name>

<value>*</value>

</property>


配置sqoop里的conf文件里面的# Hadoop configuration directory

[hadoop@fa01 ~]$ cd sqoop-1.99.7/conf/

[hadoop@fa01 conf]$ vim sqoop.properties

org.apache.sqoop.submission.engine.mapreduce.configuration.directory=/home/hadoop/hadoop-2.6.0-cdh6.5.2/etc/hadoop


檢查sqoop是否配置成功

[hadoop@fa01 bin]$ ./sqoop2-tool verify

Setting conf dir: /home/hadoop/sqoop-1.99.7/bin/../conf

Sqoop home directory: /home/hadoop/sqoop-1.99.7

Sqoop tool executor:

Version: 1.99.7

Revision:435d5e61b922a32d7bce567fe5fb1a9c0d9b1bbb

Compiled on Tue Jul 19 16:08:27 PDT 2016 by abefine

Running tool: class org.apache.sqoop.tools.tool.VerifyTool

2017-06-21 01:31:48,489 INFO  [main] core.SqoopServer (SqoopServer.java:initialize(55)) - Initializing Sqoop server.

2017-06-21 01:31:48,539 INFO  [main] core.PropertiesConfigurationProvider (PropertiesConfigurationProvider.java:initialize(99)) - Starting config file poller thread

Verification was successful.

Tool class org.apache.sqoop.tools.tool.VerifyTool has finished correctly.


啟動sqoop

[hadoop@fa01 bin]$ ./sqoop2-server start

Setting conf dir: /home/hadoop/sqoop-1.99.7/bin/../conf

Sqoop home directory: /home/hadoop/sqoop-1.99.7

Starting the Sqoop2 server...

2017-06-21 01:32:31,088 INFO  [main] core.SqoopServer (SqoopServer.java:initialize(55)) - Initializing Sqoop server.

2017-06-21 01:32:31,100 INFO  [main] core.PropertiesConfigurationProvider (PropertiesConfigurationProvider.java:initialize(99)) - Starting config file poller thread

Sqoop2 server started.


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

建昌县| 上栗县| 子洲县| 平潭县| 关岭| 南雄市| 大冶市| 马边| 濮阳县| 临漳县| 全州县| 浑源县| 葵青区| 万安县| 炎陵县| 柞水县| 廊坊市| 呼伦贝尔市| 石狮市| 五华县| 禹州市| 枝江市| 丽江市| 威信县| 苍溪县| 孟津县| 上饶市| 定襄县| 山丹县| 弥勒县| 沁阳市| 山阴县| 芒康县| 胶南市| 河东区| 云安县| 曲沃县| 卢氏县| 通州区| 苏尼特左旗| 岚皋县|