vivostar commented on PR #973:
URL: https://github.com/apache/bigtop/pull/973#issuecomment-1210074439

   tested container debian-10 x86_64, there is an error when start thrift 
server.
   ```shell
   22/08/10 01:56:11 INFO StandaloneAppClient$ClientEndpoint: Connecting to 
master spark://2d5a19e00c2e.bigtop.apache.org:7077...
   22/08/10 01:56:11 WARN StandaloneAppClient$ClientEndpoint: Failed to connect 
to master 2d5a19e00c2e.bigtop.apache.org:7077
   org.apache.spark.SparkException: Exception thrown in awaitResult: 
           at 
org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:301)
           at org.apache.spark.rpc.RpcTimeout.awaitResult(RpcTimeout.scala:75)
           at 
org.apache.spark.rpc.RpcEnv.setupEndpointRefByURI(RpcEnv.scala:101)
           at org.apache.spark.rpc.RpcEnv.setupEndpointRef(RpcEnv.scala:109)
           at 
org.apache.spark.deploy.client.StandaloneAppClient$ClientEndpoint$$anon$1.run(StandaloneAppClient.scala:107)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   Caused by: java.io.IOException: Failed to connect to 
2d5a19e00c2e.bigtop.apache.org/172.21.0.3:7077
           at 
org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:287)
           at 
org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:218)
           at 
org.apache.spark.network.client.TransportClientFactory.createClient(TransportClientFactory.java:230)
           at 
org.apache.spark.rpc.netty.NettyRpcEnv.createClient(NettyRpcEnv.scala:204)
           at org.apache.spark.rpc.netty.Outbox$$anon$1.call(Outbox.scala:202)
           at org.apache.spark.rpc.netty.Outbox$$anon$1.call(Outbox.scala:198)
           ... 4 more
   Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: 
Connection refused: 2d5a19e00c2e.bigtop.apache.org/172.21.0.3:7077
   Caused by: java.net.ConnectException: Connection refused
           at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
           at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
           at 
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330)
           at 
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:702)
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
           at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
           at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
           at java.lang.Thread.run(Thread.java:748)
   ```
   That's because the defalt spark cluster manager type is standalone instead 
of yarn. So I should add another config to contral spark cluster manager type.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to