error.log的内容如下
2025-01-19T21:17:39.522+0800 INFO MasterServer org.eclipse.jetty.server.Server Started @33865ms
2025-01-19T21:17:39.540+0800 INFO MasterServer com.facebook.airlift.bootstrap.LifeCycleManager Life cycle starting...
2025-01-19T21:17:39.541+0800 INFO MasterServer com.facebook.airlift.bootstrap.LifeCycleManager Life cycle startup complete. System ready.
java.lang.IllegalStateException
at com.fanruan.polars.report.common.base.Preconditions.checkState(Preconditions.java:492)
at com.fanruan.polars.server.Env.checkAfterStart(Env.java:35)
at com.fanruan.polars.server.ClusterServer.start(ClusterServer.java:71)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.lambda$startServer$0(LocalMiniProcessStart.java:172)
at java.lang.Thread.run(Thread.java:750)
java.lang.IllegalStateException: module load fail
at com.fanruan.polars.server.ClusterServer.checkModuleStatus(ClusterServer.java:154)
at com.fanruan.polars.server.ClusterServer.start(ClusterServer.java:61)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.lambda$startServer$0(LocalMiniProcessStart.java:172)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.IllegalStateException: Polars auto object constructor start failed
at com.fanruan.polars.core.galaxy.GalaxyCommander.start0(GalaxyCommander.java:83)
at com.fanruan.polars.base.BaseCloseable.start(BaseCloseable.java:34)
at com.fanruan.polars.core.galaxy.GalaxyCommanderBuilder.startAndInject(GalaxyCommanderBuilder.java:78)
at com.fanruan.polars.cluster.node.DBNode.start0(DBNode.java:50)
at com.fanruan.polars.base.BaseCloseable.start(BaseCloseable.java:34)
at com.fanruan.polars.server.module.DBWorkerModule.start0(DBWorkerModule.java:71)
at com.fanruan.polars.server.module.BaseModule.start(BaseModule.java:69)
at com.fanruan.polars.server.module.SimpleModuleManager.startModule(SimpleModuleManager.java:247)
at com.fanruan.polars.server.module.ModuleDriver.load(ModuleDriver.java:105)
at com.fanruan.polars.server.module.ModuleDriver.start(ModuleDriver.java:92)
at com.fanruan.polars.server.ClusterServer.start(ClusterServer.java:60)
... 2 more
Caused by: com.google.inject.CreationException: Unable to create injector, see the following errors:
1) Error injecting constructor, java.net.BindException: Cannot assign requested address: bind: Service 'sparkDriver' failed after 16 retries (on a random free port)! Consider explicitly setting the appropriate binding address for the service 'sparkDriver' (for example spark.driver.bindAddress for SparkDriver) to the correct binding address.
at com.fanruan.polars.spark.SparkRocket.<init>(SparkRocket.java:101)
at com.fanruan.polars.spark.SparkBundle.setupWorker(SparkBundle.java:32)
while locating com.fanruan.polars.spark.SparkRocket
2) Error injecting constructor, java.net.BindException: Cannot assign requested address: bind: Service 'sparkDriver' failed after 16 retries (on a random free port)! Consider explicitly setting the appropriate binding address for the service 'sparkDriver' (for example spark.driver.bindAddress for SparkDriver) to the correct binding address.
at com.fanruan.polars.spark.SparkRocket.<init>(SparkRocket.java:101)
at com.fanruan.polars.spark.SparkBundle.setupWorker(SparkBundle.java:32)
while locating com.fanruan.polars.spark.SparkRocket
for the 3rd parameter of com.fanruan.polars.spark.SparkLifeCycleManager.<init>(SparkLifeCycleManager.java:28)
at com.fanruan.polars.spark.SparkBundle.setupWorker(SparkBundle.java:33)
while locating com.fanruan.polars.spark.SparkLifeCycleManager
3) Error injecting constructor, java.net.BindException: Cannot assign requested address: bind: Service 'sparkDriver' failed after 16 retries (on a random free port)! Consider explicitly setting the appropriate binding address for the service 'sparkDriver' (for example spark.driver.bindAddress for SparkDriver) to the correct binding address.
at com.fanruan.polars.spark.SparkRocket.<init>(SparkRocket.java:101)
at com.fanruan.polars.spark.SparkBundle.setupWorker(SparkBundle.java:32)
while locating com.fanruan.polars.spark.SparkRocket
for the 2nd parameter of com.fanruan.polars.spark.SparkSessionResourceSupplierRegister.<init>(SparkSessionResourceSupplierRegister.java:22)
at com.fanruan.polars.spark.SparkBundle.setupWorker(SparkBundle.java:34)
while locating com.fanruan.polars.spark.SparkSessionResourceSupplierRegister
3 errors
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:186)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
at com.google.inject.Guice.createInjector(Guice.java:87)
at com.facebook.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:251)
at com.fanruan.polars.core.galaxy.GalaxyCommander.start0(GalaxyCommander.java:66)
... 12 more
Caused by: java.net.BindException: Cannot assign requested address: bind: Service 'sparkDriver' failed after 16 retries (on a random free port)! Consider explicitly setting the appropriate binding address for the service 'sparkDriver' (for example spark.driver.bindAddress for SparkDriver) to the correct binding address.
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:461)
at sun.nio.ch.Net.bind(Net.java:453)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:140)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:487)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:472)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:526)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more
java.lang.IllegalStateException: the module:[DB_MANGER] current state:[FAILED]
at com.fanruan.polars.report.common.base.Preconditions.checkState(Preconditions.java:824)
at com.fanruan.polars.server.module.SimpleModuleManager.destroyModule(SimpleModuleManager.java:265)
at com.fanruan.polars.server.module.SimpleModuleManager.lambda$close$1(SimpleModuleManager.java:301)
at com.fanruan.polars.report.common.io.Closer.close(Closer.java:213)
at com.fanruan.polars.server.module.SimpleModuleManager.close(SimpleModuleManager.java:307)
at com.fanruan.polars.report.common.io.Closer.close(Closer.java:213)
at com.fanruan.polars.server.ClusterServer.stop(ClusterServer.java:168)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.lambda$startServer$1(LocalMiniProcessStart.java:183)
at com.google.common.io.Closer.close(Closer.java:218)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.startMiniCluster(LocalMiniProcessStart.java:132)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.start(LocalMiniProcessStart.java:96)
at com.finebi.adapt.polars.impl.polars.PolarsDriverAndServerManager.start(PolarsDriverAndServerManager.java:54)
at com.finebi.adapt.polars.impl.PolarsStarter.start(PolarsStarter.java:79)
at com.finebi.spider.impl.startup.PolarsModule.start(PolarsModule.java:147)
at com.finebi.spider.impl.startup.SpiderStarter.initWithConfig(SpiderStarter.java:52)
at com.finebi.spider.impl.ClientInProcessConnector.start(ClientInProcessConnector.java:26)
at com.finebi.direct.impl.datasource.ExcelDataSourceEngineDriver.init(ExcelDataSourceEngineDriver.java:63)
at com.finebi.direct.api.datasource.DirectDataSourceEngineDriverFactory.realRegister(DirectDataSourceEngineDriverFactory.java:53)
at com.finebi.direct.api.datasource.DirectDataSourceEngineDriverFactory.realRegister(DirectDataSourceEngineDriverFactory.java:19)
at com.finebi.common.api.datasource.CompletableFutureRegisterFactory.lambda$register$0(CompletableFutureRegisterFactory.java:30)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
at java.lang.Thread.run(Thread.java:750)
io.grpc.StatusRuntimeException: INTERNAL: Worker:[Worker(Worker)#1737292655417] in monitor:[Monitor(Monitor)#1737292655417] is running
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:271)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:252)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:165)
at com.fanruan.polars.server.master.MasterServiceGrpc$MasterServiceBlockingStub.unregisterMonitor(MasterServiceGrpc.java:1576)
at com.fanruan.polars.client.Worker2MasterClient.unRegisterMonitor(Worker2MasterClient.java:153)
at com.fanruan.polars.server.node.RpcMasterServerClient.unregisterMonitor(RpcMasterServerClient.java:113)
at com.fanruan.polars.cluster.node.MonitorNode.lambda$start0$0(MonitorNode.java:78)
at com.fanruan.polars.report.common.io.Closer.close(Closer.java:213)
at com.fanruan.polars.base.BaseCloseable.close(BaseCloseable.java:58)
at com.fanruan.polars.server.MonitorServer.stop(MonitorServer.java:188)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.lambda$startServer$1(LocalMiniProcessStart.java:183)
at com.google.common.io.Closer.close(Closer.java:218)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.startMiniCluster(LocalMiniProcessStart.java:132)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.start(LocalMiniProcessStart.java:96)
at com.finebi.adapt.polars.impl.polars.PolarsDriverAndServerManager.start(PolarsDriverAndServerManager.java:54)
at com.finebi.adapt.polars.impl.PolarsStarter.start(PolarsStarter.java:79)
at com.finebi.spider.impl.startup.PolarsModule.start(PolarsModule.java:147)
at com.finebi.spider.impl.startup.SpiderStarter.initWithConfig(SpiderStarter.java:52)
at com.finebi.spider.impl.ClientInProcessConnector.start(ClientInProcessConnector.java:26)
at com.finebi.direct.impl.datasource.ExcelDataSourceEngineDriver.init(ExcelDataSourceEngineDriver.java:63)
at com.finebi.direct.api.datasource.DirectDataSourceEngineDriverFactory.realRegister(DirectDataSourceEngineDriverFactory.java:53)
at com.finebi.direct.api.datasource.DirectDataSourceEngineDriverFactory.realRegister(DirectDataSourceEngineDriverFactory.java:19)
at com.finebi.common.api.datasource.CompletableFutureRegisterFactory.lambda$register$0(CompletableFutureRegisterFactory.java:30)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
at java.lang.Thread.run(Thread.java:750)
java.lang.NullPointerException
at com.fanruan.polars.spi.data.utils.Utils.shutdownGrpcServerGracefully(Utils.java:248)
at com.fanruan.polars.server.MonitorServer.stop(MonitorServer.java:189)
at com.fanruan.polars.server.MonitorServer.startGrpcServer(MonitorServer.java:146)
at com.fanruan.polars.server.MonitorServer.start(MonitorServer.java:92)
at com.finebi.adapt.polars.impl.polars.LocalMiniProcessStart.lambda$startServer$0(LocalMiniProcessStart.java:172)
at java.lang.Thread.run(Thread.java:750)
|