1. 程式人生 > >Hive的命令列客戶端啟動:

Hive的命令列客戶端啟動:

[Spark][Hive]Hive的命令列客戶端啟動:

[[email protected] Desktop]$ chkconfig | grep hive

hive-metastore 0:off 1:off 2:off 3:on 4:on 5:on 6:off
hive-server2 0:off 1:off 2:off 3:on 4:on 5:on 6:off

[[email protected] Desktop]$ service hive-server2 status
Hive Server2 is running [ OK ]
[[email protected]

Desktop]$ service hive-metastore status
Hive Metastore is running [ OK ]

[[email protected] Desktop]$ which hive
/usr/bin/hive
[[email protected] Desktop]$

[[email protected] Desktop]$ hive
2017-10-01 05:51:57,492 WARN [main] mapreduce.TableMapReduceUtil: The hbase-prefix-tree module jar containing PrefixTreeCodec is not present. Continuing without it.

Logging initialized using configuration in file:/etc/hive/conf.dist/hive-log4j.properties
WARNING: Hive CLI is deprecated and migration to Beeline is recommended.
hive>