启动hiveserver2
(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 &