9.14每日总结

启动元数据管理服务(必须启动,否则无法工作)

  前台启动:bin/hive --service metastore
  后台启动:nohup bin/hive --service metastore >> logs/metastore.log 2>&1 &

 启动客户端

Hive Shell方式(可以直接写SQL): 

  bin/hive

Hive ThriftServer方式(不可直接写SQL,需要外部客户端链接使用):  

  #先启动metastore服务 然后启动hiveserver2服务
  nohup bin/hive --service metastore >> logs/metastore.log 2>&1 &
  nohup bin/hive --service hiveserver2 >> logs/hiveserver2.log 2>&1 &
posted @   风·华正茂  阅读(9)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
· 提示词工程——AI应用必不可少的技术
点击右上角即可分享
微信分享提示