使用hive --service hiveserver2 -hiveconf hive.server2.thrift.port=10000启动hivesever2
结果如下:
2021-04-16 13:44∶43: starting HiveServer2
SLF4J: class path contains multiple SLF4] bindings.SLF4J: Found binding in [jar:file:/usr/local/hive/lib/log4j-slf4j-inpl-2.10.0.jar ! /org/slf4j/impl/staticlLoggerBinder.class]SLF4]:Found binding in [jar:file :/usr/local/hadoop/share /hadoop/connon/ib/slf4j-log4j12-1.7.25. jar:/org/sif4j/inpl/StaticLoggerBinder .class]
SLF4J: See http: //www.slf4j.org/codes.htnl#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Hive Session ID = 7fcd1fe2-8065-4381-aa4c-970f2a8f933b
2821-04-16 13:44:49,457 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown · will be ignored
2021-04-16 13:44:51,384 WARN DataNucleus.NetaData: Netadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:51,387 WARN DataNucleus.NetaData: Metadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:51,388 WARN DataNucleus.MetaData: Netadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:51,388 WARN DataNucleus.MetaData: Metadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:51,389 WARN DataNucleus.NetaData: Metadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:51,389 WARN DataNucleus.HetaData: Metadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:52,886 WARN DataNucleus.MetaData: Netadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:52,899 WARN DataNucleus.MetaData: Netadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:52,906 WARN DataNucleus.MetaData: Netadata has jdbc-type
of null yet this is not valid. rgnored
2021-04-16 13:44:52,909 WARN DataNucleus.MetaData: Netadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:52,910 WARN DataNucleus.MetaData: Metadata has jdbc-type
of null yet this is not valid. Ignored
2021-04-16 13:44:52,910 WARN DataNucleus.MetaData: Metadata has jdbc-type
of null yet this is not valid. Ignored
Hive session ID = d36bd6c5-f148-4d7f-a232-4ba944a180f3
Hive session ID = 59541bca-ed8e-4ce3-ba60-cb209a375606
Hive session ID = 389bdof2-34a1-4f07-b8c7-14516b23a4a2
Hive session ID = 74712a89-0c57-431d-abdf-14d717e720f7
Hive session ID = ab32fb97-db3a-4df5-9e4d-e9c137fea3b3
Hive session ID = a813d541-170f-4790-b91b-865c40975416
Hive session ID = 9a83ba16-1ad1-46da-9b69-20cb7f894228
Hive Session ID = 66b61c5e-72a7-4bf2-8acd-06d5201719f3
Hive session ID = 1bofff63-4e76-4f49-bb3a-d0c282f3a045
Hive session ID = 1d09e797-03a0-465d-8a33-bd29f36c85c2
Hive session ID = 5c2fc00b-32bd-49ed-b746-69f8de94dee0
Hive session ID = 015b4fa5-f313-4290-b101-53b2259eeac9
Hive session ID = 813dde10-1f21-4bbe-b22a-7d26db9ff421
Hive Session ID = a155fcc2-ab75-4f1b-944a-00e4f70ace96
Hive session ID = 88f3f6dc-ea17-4dc4-a34f-0c7d0c7f4332
Hive session ID = aacd30d7-1aec-4fa3-8b45-2f4ad5e2f5ec
Hive session ID = c8dea56f-eodf-45e7-a052-5f773f7bada7
Hive session ID = 1e87eefa-5b76-46b7-80f0-e0004b4a2fe8
Hive session ID = 8c19e8b7-2f35-4a72-acc7-39dc7a323fb3
Hive session ID = a7ea31af-b388-4e07-904f-9a4b6ff6d8b7
Hive session ID = fac66b8d-13b5-48df-83a8-9131a6733d29
Hive session ID = ac5da0e2-3f3a-497c-a80a-d9a55d387c41
Hive session ID = 8abc077c-008c-4827-bd27-f25c2d499a12
是不是系统环境的设置改变了哦,好像好多东西都找不到了。
您好,我是有问必答小助手,你的问题已经有小伙伴为您解答了问题,您看下是否解决了您的问题,可以追评进行沟通哦~
如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~
ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632
非常感谢您使用有问必答服务,为了后续更快速的帮您解决问题,现诚邀您参与有问必答体验反馈。您的建议将会运用到我们的产品优化中,希望能得到您的支持与协助!
速戳参与调研>>>https://t.csdnimg.cn/Kf0y
我也是这个问题,题主解决了吗