shirleyStorage commented on issue #2667:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2667#issuecomment-2380580707

   @dosu I ran into the following problem when restarting container after 
compiling with the latest master branch code:
   ```
   java.lang.IllegalArgumentException: The server with name 'server-1' already 
in cluster
        at 
com.google.common.base.Preconditions.checkArgument(Preconditions.java:167) 
~[guava-31.0.1-android.jar:?]
        at org.apache.hugegraph.util.E.checkArgument(E.java:52) 
~[hugegraph-common-1.5.0.jar:1.5.0]
        at 
org.apache.hugegraph.task.ServerInfoManager.initServerInfo(ServerInfoManager.java:110)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
        at 
org.apache.hugegraph.StandardHugeGraph.serverStarted(StandardHugeGraph.java:288)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
        at 
org.apache.hugegraph.core.GraphManager.serverStarted(GraphManager.java:484) 
~[hugegraph-api-1.5.0.jar:0.71.0.0]
        at org.apache.hugegraph.core.GraphManager.init(GraphManager.java:125) 
~[hugegraph-api-1.5.0.jar:0.71.0.0]
        at 
org.apache.hugegraph.server.ApplicationConfig$GraphManagerFactory$1.onEvent(ApplicationConfig.java:143)
 ~[hugegraph-api-1.5.0.jar:0.71.0.0]
        at 
org.glassfish.jersey.server.internal.monitoring.CompositeApplicationEventListener.onEvent(CompositeApplicationEventListener.java:49)
 ~[jersey-server-3.0.3.jar:?]
        at 
org.glassfish.jersey.server.internal.monitoring.MonitoringContainerListener.onStartup(MonitoringContainerListener.java:56)
 ~[jersey-server-3.0.3.jar:?]
        at 
org.glassfish.jersey.server.ApplicationHandler.onStartup(ApplicationHandler.java:711)
 ~[jersey-server-3.0.3.jar:?]
        at 
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.start(GrizzlyHttpContainer.java:330)
 ~[jersey-container-grizzly2-http-3.0.3.jar:?]
        at 
org.glassfish.grizzly.http.server.HttpHandlerChain.start(HttpHandlerChain.java:376)
 ~[grizzly-http-server-3.0.1.jar:3.0.1]
        at 
org.glassfish.grizzly.http.server.HttpServer.setupHttpHandler(HttpServer.java:268)
 ~[grizzly-http-server-3.0.1.jar:3.0.1]
        at 
org.glassfish.grizzly.http.server.HttpServer.start(HttpServer.java:245) 
~[grizzly-http-server-3.0.1.jar:3.0.1]
        at org.apache.hugegraph.server.RestServer.start(RestServer.java:70) 
~[hugegraph-api-1.5.0.jar:0.71.0.0]
        at org.apache.hugegraph.server.RestServer.start(RestServer.java:177) 
~[hugegraph-api-1.5.0.jar:0.71.0.0]
        at 
org.apache.hugegraph.dist.HugeRestServer.start(HugeRestServer.java:31) 
~[hugegraph-dist-1.5.0.jar:1.5.0]
        at 
org.apache.hugegraph.dist.HugeGraphServer.<init>(HugeGraphServer.java:60) 
~[hugegraph-dist-1.5.0.jar:1.5.0]
        at 
org.apache.hugegraph.dist.HugeGraphServer.main(HugeGraphServer.java:120) 
~[hugegraph-dist-1.5.0.jar:1.5.0]
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to