/usr/local/src/bigdata/hive-3.1.2/bin
hive --service metastore
hive --service hiveserver2
nohup hive --service metastore >> ~/metastore.log 2>&1 &
nohup bin/hive --service metastore &
nohup hive --service hiveserver2 &
nohup hive --service hiveserver2 >> ~/hiveserver2.log 2>&1 &
beeline -u jdbc:hive2://hadoop1:10000 -n hive
set hive.exec.mode.local.auto=true;
insert into employee values(10,'2','100','test');