Hive 如何在后台运行配置单元服务器2,don';不要在关闭终端时终止

Hive 如何在后台运行配置单元服务器2,don';不要在关闭终端时终止,hive,ubuntu-14.04,Hive,Ubuntu 14.04,My hive server 2命令在(aws)ubuntu终端上正常运行: hive --service hiveserver2 --hiveconf hive.server2.thrift.port=10002 --hiveconf hive.root.logger=LOG,console 但当我关闭终端时我的蜂巢服务器停止了, 我需要一个命令来解决这个问题,谢谢。经过多次搜索,我终于找到了这个命令:- hive --service hiveserver2 --hiveconf hive.

My hive server 2命令在(aws)ubuntu终端上正常运行:

hive --service hiveserver2 --hiveconf hive.server2.thrift.port=10002 --hiveconf hive.root.logger=LOG,console
但当我关闭终端时我的蜂巢服务器停止了,
我需要一个命令来解决这个问题,谢谢。

经过多次搜索,我终于找到了这个命令:-

hive --service hiveserver2 --hiveconf hive.server2.thrift.port=10002 2 &  > /dev/null

运行此进程后,您将获得一个进程id并将其保存在某个位置,当您需要终止同一进程时,将需要它,我是这样做的:)

关于
nohup&