2016.8.5

mysql主庫(kù)+計(jì)算應(yīng)用60.29.252.39 ? ?

定時(shí)任務(wù)應(yīng)用

[root@localhost lib]# ps -ef | grep tomcat

[root@localhost lib]# kill -9 5513

[root@localhost lib]#/opt/apache-tomcat-6.0.32-demo/bin/startup.sh

主機(jī):hive server && spark

[root@hive-m~]# cd /opt/hive-1.2.1/

[root@hive-m~]# cd /opt/hive-1.2.1/auxlib/

[root@hive-mauxlib]# rz -y

rzwaiting to receive.

開(kāi)始zmodem傳輸。按Ctrl+C取消。

100%3230 KB 3230 KB/s 00:00:010Errorsencies.jar...

[root@hive-mauxlib]# ps -ef|grep hive

[root@hive-mauxlib]# kill -9 2357

[root@hive-mauxlib]# cd ../bin/

[root@hive-mbin]# nohup ./hiveserver2 &

[root@hive-mbin]# ps -ef|grep hive

[root@hive-mbin]# hive

Logginginitialized using configuration infile:/opt/hive-1.2.1/conf/hive-log4j.properties

hive>select dimcache('movieaid',1);

convertingto localhdfs://data-m.voole.com:8082/hive_udfs/xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar

Added[/opt/log/hive/xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar] to class path

Addedresources: [hdfs://data-m.voole.com:8082/hive_udfs/xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar]

OK

123

Timetaken: 2.826 seconds, Fetched: 1 row(s)

hive>select dimcache('movieaid',2);

OK

2

Timetaken: 0.171 seconds, Fetched: 1 row(s)

主機(jī)ID:60.29.252.10密碼:

[root@data-m ~]# cd /hive_udfs/

[root@data-m hive_udfs]# ll

total 7236

-rw-r--r-- 1 root root 4096674 Jun 21 10:55hiveudf_01.jar

-rw-r--r-- 1 root root 3307622 Aug2 14:08xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar

[root@data-m hive_udfs]# rm -rfxdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar

[root@data-m hive_udfs]# rz -y

rz waiting to receive.

開(kāi)始zmodem傳輸。按Ctrl+C取消。

100%3230 KB 3230 KB/s00:00:010 Errorsencies.jar...

[root@data-m hive_udfs]# ll

total 7236

-rw-r--r-- 1 root root 4096674 Jun 21 10:55hiveudf_01.jar

-rw-r--r-- 1 root root 3308299 Aug5 17:57xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar

[root@data-m hive_udfs]# hadoop fs -rm/hive_udfs/xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar

16/08/05 18:02:13 INFOfs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0minutes, Emptier interval = 0 minutes.

Deleted/hive_udfs/xdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar

[root@data-m hive_udfs]# hadoop fs -putxdata-udf-1.0-SNAPSHOT-jar-with-dependencies.jar /hive_udfs/

[root@data-m hive_udfs]#

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容