(1)启动hiveserver2 前台启动 [atguigu@hadoop102 hive]$ bin/hiveserver2 后台启动 [atguigu@hadoop102 hive]$ nohup bin/hiveserver2 >/dev/null 2>&1 &
(1)启动hiveserver2
[atguigu@hadoop102 hive]$ bin/hive --service hiveserver2
或者
[atguigu@hadoop102 hive]$ bin/hiveserver2
或者
[atguigu@hadoop102 hive]$ nohup bin/hiveserver2 >/dev/null 2>&1 &
标签:bin,启动,hive,hiveserver2,atguigu,hadoop102 From: https://www.cnblogs.com/liuys635/p/17984629