zhui6688 opened a new issue, #1978: URL: https://github.com/apache/incubator-hugegraph/issues/1978
### Problem Type (问题类型) server status (启动/运行异常) ### 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 - OS:Windows 10+Ubuntu 22.04子系统,OS安装于VMware --hugegraph.properties配置,参考官网 backend=rocksdb serializer=binary rocksdb.data_path=. rocksdb.wal_path=. --初始化数据库(仅第一次启动时需要),参考官网 bin/init-store.sh --启动server,参考官网 bin/start-hugegraph.sh ### Your Question (问题描述) (1)、第一个问题 --初始化数据库,运行结果,如加粗部分。应如何处理? Initializing HugeGraph Store... 2022-10-15 22:13:26 [main] [INFO] c.b.h.u.ConfigUtil - Scaning option 'graphs' directory './conf/graphs' 2022-10-15 22:13:27 [main] [INFO] c.b.h.c.InitStore - Init graph with config file: ./conf/graphs/hugegraph.properties 2022-10-15 22:13:27 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Opening RocksDB with data path: ./m **2022-10-15 22:13:28 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Failed to open RocksDB './m' with database 'hugegraph', try to init CF later** 2022-10-15 22:13:28 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Opening RocksDB with data path: ./s main dict load finished, time elapsed 1423 ms model load finished, time elapsed 54 ms. 2022-10-15 22:13:30 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Opening RocksDB with data path: ./g 2022-10-15 22:13:30 [main] [INFO] o.c.o.l.Uns - OHC using JNA OS native malloc/free 2022-10-15 22:13:31 [main] [INFO] c.b.h.HugeGraph - Graph 'hugegraph' has been initialized 2022-10-15 22:13:31 [main] [INFO] c.b.h.HugeGraph - Close graph standardhugegraph[hugegraph] 2022-10-15 22:13:31 [hugegraph-shutdown] [INFO] c.b.h.HugeGraph - HugeGraph is shutting down Initialization finished. (2)、第二个问题 --启动server,运行显示连接超时,如加粗部分: Starting HugeGraphServer... Connecting to HugeGraphServer (http://127.0.0.1:8080/graphs)................**The operation timed out(30s) when attempting to connect to http://127.0.0.1:8080/graphs** --日志显示,好像没有报错。为什么? 2022-10-15 22:19:59 [main] [INFO] c.j.m.Manifests - 89 attributes loaded from 223 stream(s) in 594ms, 89 saved, 3028 ignored: ["Agent-Class", "Ant-Version", "Archiver-Version", "Automatic-Module-Name", "Bnd-LastModified", "Build-Id", "Build-Jdk", "Build-Jdk-Spec", "Build-Version", "Built-By", "Built-Date", "Built-JDK", "Bundle-ActivationPolicy", "Bundle-Activator", "Bundle-Category", "Bundle-ClassPath", "Bundle-ContactAddress", "Bundle-Copyright", "Bundle-Description", "Bundle-DocURL", "Bundle-License", "Bundle-ManifestVersion", "Bundle-Name", "Bundle-NativeCode", "Bundle-RequiredExecutionEnvironment", "Bundle-SCM", "Bundle-SymbolicName", "Bundle-Vendor", "Bundle-Version", "CLDR-Version", "Class-Path", "Created-By", "DSTAMP", "DynamicImport-Package", "Eclipse-BuddyPolicy", "Eclipse-ExtensibleAPI", "Embed-Dependency", "Export-Package", "Extension-Name", "Extension-name", "Fragment-Host", "Ignore-Package", "Implementation-Build", "Implementation-Build-Date", "Implementation-Build-Id ", "Implementation-Title", "Implementation-URL", "Implementation-Vendor", "Implementation-Vendor-Id", "Implementation-Version", "Import-Package", "Include-Resource", "JCabi-Build", "JCabi-Date", "JCabi-Version", "Log4jReleaseKey", "Log4jReleaseManager", "Log4jReleaseVersion", "Log4jReleaseVersionJava6", "Log4jReleaseVersionJava7", "Log4jSigningUserName", "Main-Class", "Manifest-Version", "Multi-Release", "Originally-Created-By", "Package", "Premain-Class", "Private-Package", "Provide-Capability", "Require-Bundle", "Require-Capability", "Source-Compatibility", "Specification-Title", "Specification-Vendor", "Specification-Version", "TODAY", "TSTAMP", "Target-Compatibility", "Time-Zone-Database-Version", "Tool", "X-Compile-Source-JDK", "X-Compile-Target-JDK", "hash", "implementation-version", "mode", "package", "service", "url", "version"] 2022-10-15 22:19:59 [main] [INFO] c.b.h.d.HugeGremlinServer - 3.4.3 \,,,/ (o o) -----oOOo-(3)-oOOo----- 2022-10-15 22:19:59 [main] [INFO] c.b.h.u.ConfigUtil - Scaning option 'graphs' directory './conf/graphs' 2022-10-15 22:19:59 [main] [INFO] c.b.h.d.HugeGremlinServer - Configuring Gremlin Server from /mnt/c/hugegraph-0.12.0/conf/gremlin-server.yaml 2022-10-15 22:20:00 [main] [INFO] o.a.t.g.s.GremlinServer - Graph [hugegraph] was successfully configured via [./conf/graphs/hugegraph.properties]. 2022-10-15 22:20:00 [main] [INFO] o.a.t.g.s.u.ServerGremlinExecutor - Initialized Gremlin thread pool. Threads in pool named with pattern gremlin-* 2022-10-15 22:20:02 [main] [INFO] o.a.t.g.s.u.ServerGremlinExecutor - Initialized GremlinExecutor and preparing GremlinScriptEngines instances. 2022-10-15 22:20:09 [main] [INFO] o.a.t.g.s.u.ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine and registered metrics 2022-10-15 22:20:09 [main] [INFO] o.a.t.g.s.o.OpLoader - Adding the standard OpProcessor. 2022-10-15 22:20:09 [main] [INFO] o.a.t.g.s.o.OpLoader - Adding the session OpProcessor. 2022-10-15 22:20:09 [main] [INFO] o.a.t.g.s.o.OpLoader - Adding the traversal OpProcessor. 2022-10-15 22:20:09 [main] [INFO] o.a.t.g.s.o.t.TraversalOpProcessor - Initialized cache for TraversalOpProcessor with size 1000 and expiration time of 600000 ms 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.GremlinServer - Executing start up LifeCycleHook 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.GremlinServer - Executed once at startup of Gremlin Server. 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.GremlinServer - idleConnectionTimeout was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.GremlinServer - keepAliveInterval was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.graphbinary-v1.0 with org.apache.tinkerpop.gremlin.driver.ser.GraphBinaryMessageSerializerV1 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v2.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV2d0 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - application/json already has org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 configured - it will not be replaced by org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV2d0, change order of serialization configuration if this is not desired. 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v3.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - application/json already has org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 configured - it will not be replaced by org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0, change order of serialization configuration if this is not desired. 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.graphbinary-v1.0 with org.apache.tinkerpop.gremlin.driver.ser.GraphBinaryMessageSerializerV1 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v2.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV2d0 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - application/json already has org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 configured - it will not be replaced by org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV2d0, change order of serialization configuration if this is not desired. 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v3.0+json with org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0 2022-10-15 22:20:10 [main] [INFO] o.a.t.g.s.AbstractChannelizer - application/json already has org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0 configured - it will not be replaced by org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0, change order of serialization configuration if this is not desired. 2022-10-15 22:20:10 [gremlin-server-boss-1] [INFO] o.a.t.g.s.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 4 and boss thread pool of 1. 2022-10-15 22:20:10 [gremlin-server-boss-1] [INFO] o.a.t.g.s.GremlinServer - Channel started at port 8182. 2022-10-15 22:20:10 [main] [INFO] c.b.h.s.RestServer - RestServer starting... 2022-10-15 22:20:27 [main] [INFO] c.b.h.u.ConfigUtil - Scaning option 'graphs' directory './conf/graphs' 2022-10-15 22:20:28 [main] [INFO] c.b.h.s.RestServer - Graph 'hugegraph' was successfully configured via './conf/graphs/hugegraph.properties' 2022-10-15 22:20:28 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Opening RocksDB with data path: ./m 2022-10-15 22:20:29 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Opening RocksDB with data path: ./s 2022-10-15 22:20:30 [db-open-1] [INFO] c.b.h.b.s.r.RocksDBStore - Opening RocksDB with data path: ./g 2022-10-15 22:20:31 [main] [INFO] o.c.o.l.Uns - OHC using JNA OS native malloc/free 2022-10-15 22:20:32 [main] [INFO] c.b.h.r.RpcServer - RpcServer config is empty, skip starting RpcServer 2022-10-15 22:20:32 [main] [INFO] c.b.h.HugeGraph - Init server info [server-1-MASTER] for graph 'hugegraph'... 2022-10-15 22:20:34 [main] [INFO] c.b.h.t.ServerInfoManager - Init server info: HugeServerInfo(server-1){server_load=0, server_role=MASTER, id=server-1, label=~server, server_update_time=Sat Oct 15 22:20:33 CST 2022, server_max_load=10000} 2022-10-15 22:20:34 [main] [INFO] c.b.h.HugeGraph - Check olap property-key tables for graph 'hugegraph' 2022-10-15 22:20:34 [main] [INFO] c.b.h.HugeGraph - Restoring incomplete tasks for graph 'hugegraph'... 2022-10-15 22:20:34 [main] [INFO] c.b.h.s.RestServer - The maximum batch writing threads is 6 (total threads 8) 2022-10-15 22:20:34 [main] [INFO] c.b.h.s.RestServer - RestServer started ### Vertex/Edge example (问题点 / 边数据举例) _No response_ ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) _No response_ -- 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]
