当我运行/启动thrift服务器
时su spark
./sbin/start-thriftserver.sh
或
./sbin/start-thriftserver.sh --master yarn-client --executor-memory 512m --hiveconf hive.server2.thrift.port=100015
来自/ var / log / spark2 / 的
我们得到了
WARN AbstractLifeCycle: FAILED ServerConnector@1fc793c2{HTTP/1.1}{0.0.0.0:4040}: java.net.BindException: Address already in use java.net.BindException: Address already in use
如何解决这个问题?