1:运行 命令行模式: hive --service hiveserver2 --hiveconf hive.server2.thrift.port=10001 服务模式: hiveserver2 start