apache / apache/hugegraph

[Bug] 新下载的server 0.12的包,把restserver.url=http://127.0.0.1:8080改成restserver.url=http://0.0.0.0:8080启动会报错

Open
#1,992 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Bug Type (问题类型)

others (please edit later)

### Before submit

- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题

### Environment (环境信息)

- Server Version: v0.12.0
- Backend: RocksDB
Centos 7
java 8

### Expected & Actual behavior (期望与实际表现)

报错信息:
[gremlin-server-stop] [INFO] c.b.h.HugeGraph - Close graph standardhugegraph[hugegraph]
2022-10-26 08:56:41 [gremlin-server-stop] [WARN] o.a.t.g.s.GremlinServer - Exception while closing Graph instance [hugegraph]
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@70b7d1eb rejected from java.util.concurrent.ThreadPoolExecutor@7176e877[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063) ~[?:1.8.0_292]
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) ~[?:1.8.0_292]
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379) ~[?:1.8.0_292]
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) ~[?:1.8.0_292]
at com.baidu.hugegraph.event.EventHub.notify(EventHub.java:155) ~[hugegraph-common-2.0.1.jar:2.0.1.0]
at com.baidu.hugegraph.backend.store.AbstractBackendStoreProvider.close(AbstractBackendStoreProvider.java:105) ~[hugegraph-core-0.12.0.jar:0.12.0.0]
at com.baidu.hugegraph.StandardHugeGraph.close(StandardHugeGraph.java:900) ~[hugegraph-core-0.12.0.jar:0.12.0.0]
at org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$null$7(GremlinServer.java:298) ~[gremlin-server-3.4.3.jar:3.4.3]
at java.util.concurrent.ConcurrentHashMap$KeySetView.forEach(ConcurrentHashMap.java:4649) ~[?:1.8.0_292]
at org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$stop$8(GremlinServer.java:295) ~[gremlin-server-3.4.3.jar:3.4

把restserver.url改回http://127.0.0.1:8080,可以正常启动

### Vertex/Edge example (问题点 / 边数据举例)

```javascript
.
```

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

```javascript
.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.