进入hive_home目录下
输入命令:
启动metastore:
bin/hive --service metastore
后台启动:
bin/hive --service metastore 2>&1 >> /var/log.log &
后台启动,关闭shell连接依然存在:
nohup bin/hive --service metastore 2>&1 >> /var/log.log &
本文介绍如何在Hive中启动Metastore服务,包括直接启动、后台启动及断开Shell连接后仍能运行的方法。适用于需要配置Hive环境的开发者。
进入hive_home目录下
输入命令:
启动metastore:
bin/hive --service metastore
后台启动:
bin/hive --service metastore 2>&1 >> /var/log.log &
后台启动,关闭shell连接依然存在:
nohup bin/hive --service metastore 2>&1 >> /var/log.log &
936

被折叠的 条评论
为什么被折叠?