[Spark][Hive]Hive的命令行客户端启动:

[Spark][Hive]Hive的命令行客户端启动:

[training@localhost 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

[training@localhost Desktop]$ service hive-server2 status
Hive Server2 is running [ OK ]
[training@localhost Desktop]$ service hive-metastore status
Hive Metastore is running [ OK ]

[training@localhost Desktop]$ which hive
/usr/bin/hive
[training@localhost Desktop]$

[training@localhost 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>






本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/7617782.html,如需转载请自行联系原作者

上一篇:gocommand:一个跨平台的golang命令行执行package


下一篇:Python开发工具PyCharm个性化设置(图解)