1. 在ambari spark界面中删除port设置:
hive.server2.thrift.http.port=10015

2. 启动命令中添加端口号:
/usr/hdp/2.6.1.0-129/spark2/sbin/start-thriftserver.sh --master yarn --deploy-mode client --hiveconf hive.server2.thrift.http.port=9998
hive.server2.thrift.http.port=10015
/usr/hdp/2.6.1.0-129/spark2/sbin/start-thriftserver.sh --master yarn --deploy-mode client --hiveconf hive.server2.thrift.http.port=9998
本文标题:spark Thriftserver配置自定义端口
本文链接:https://www.haomeiwen.com/subject/sdlsvftx.html
网友评论