hive research: automatic shutdown after hive startup solves the problem

use

hive --service metastore &
hive --service hiveserver2 &
 After starting hive, I found 2 RUNJARs disappeared using jps query every other day
 
Reason: After using & start, the process will be automatically closed after the account is logged out
solve:
nohup hive --service metastore &
nohup  hive --service hiveserver2 &
Use nohup+& to start

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325050997&siteId=291194637