参考博客:Hive Beeline连接报错:Could not open client transport with JDBC Uri: jdbc:hive2://hcmaster:10000/default 启动hiveserver2服务 启动beeline 连接hiveserver2 使用示例