2016.8.5

mysql主库+计算应用60.29.252.39    

定时任务应用

[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

主机: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.

开始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)

主机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.

开始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]#

你可能感兴趣的:(2016.8.5)