啟動Hive服務:
./hive --service metastore & ./hive --service hiveserver2 &
關閉Hive服務:
./hive --service metastore --stop ./hive --service hiveserver2 --stop