Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init-store failed due to datapath and walpath error for rocksdb backend #22

Closed
zhoney opened this issue Aug 22, 2018 · 0 comments · Fixed by #23
Closed

init-store failed due to datapath and walpath error for rocksdb backend #22

zhoney opened this issue Aug 22, 2018 · 0 comments · Fixed by #23
Labels
bug Something isn't working
Milestone

Comments

@zhoney
Copy link
Contributor

zhoney commented Aug 22, 2018

Initing HugeGraph Store...
2018-08-22 16:54:58 718 [main] [INFO ] com.baidu.hugegraph.cmd.InitStore [] - Init graph with config file: conf/hugegraph.properties
2018-08-22 16:54:58 819 [main] [INFO ] com.baidu.hugegraph.HugeGraph [] - Opening backend store 'rocksdb' for graph 'hugegraph'
2018-08-22 16:54:58 865 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Opening RocksDB with data path: ./rocksdb-data/schema
2018-08-22 16:54:59 1043 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Failed to open RocksDB './rocksdb-data/schema' with database 'hugegraph', try to init CF later
2018-08-22 16:54:59 1160 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Opening RocksDB with data path: ./rocksdb-data/system
2018-08-22 16:54:59 1217 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Failed to open RocksDB './rocksdb-data/system' with database 'hugegraph', try to init CF later
2018-08-22 16:54:59 1276 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Opening RocksDB with data path: ./rocksdb-data/graph
2018-08-22 16:54:59 1325 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Failed to open RocksDB './rocksdb-data/graph' with database 'hugegraph', try to init CF later
2018-08-22 16:54:59 1409 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Opening RocksDB with data path: ./edge_in/graph
2018-08-22 16:54:59 1411 [main] [ERROR] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Failed to open RocksDB './edge_in/graph'
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStdSessions.(RocksDBStdSessions.java:113) ~[hugegraph-rocksdb-0.7.4.jar:?]
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.openSessionPool(RocksDBStore.java:206) ~[hugegraph-rocksdb-0.7.4.jar:?]
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.open(RocksDBStore.java:154) [hugegraph-rocksdb-0.7.4.jar:?]
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.open(RocksDBStore.java:143) [hugegraph-rocksdb-0.7.4.jar:?]
at com.baidu.hugegraph.HugeGraph.initBackend(HugeGraph.java:187) [hugegraph-core-0.7.4.jar:0.7.4.0]
at com.baidu.hugegraph.cmd.InitStore.initBackend(InitStore.java:115) [hugegraph-dist-0.7.4.jar:?]
at com.baidu.hugegraph.cmd.InitStore.initGraph(InitStore.java:103) [hugegraph-dist-0.7.4.jar:?]
at com.baidu.hugegraph.cmd.InitStore.main(InitStore.java:86) [hugegraph-dist-0.7.4.jar:?]
Exception in thread "main" com.baidu.hugegraph.backend.BackendException: Failed to open RocksDB './edge_in/graph'
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.open(RocksDBStore.java:186)
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.open(RocksDBStore.java:143)
at com.baidu.hugegraph.HugeGraph.initBackend(HugeGraph.java:187)
at com.baidu.hugegraph.cmd.InitStore.initBackend(InitStore.java:115)
at com.baidu.hugegraph.cmd.InitStore.initGraph(InitStore.java:103)
at com.baidu.hugegraph.cmd.InitStore.main(InitStore.java:86)
Caused by: org.rocksdb.RocksDBException: While lock file: ./rocksdb-data/graph/LOCK: No locks available
at org.rocksdb.RocksDB.open(Native Method)
at org.rocksdb.RocksDB.open(RocksDB.java:286)
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStdSessions.(RocksDBStdSessions.java:113)
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.openSessionPool(RocksDBStore.java:206)
at com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore.open(RocksDBStore.java:154)
... 5 more

zhoney pushed a commit that referenced this issue Aug 22, 2018
…db backend

fix #22

Change-Id: Id86628f0073301a969d054d4e52b115ac9096c14
@javeme javeme added the bug Something isn't working label Aug 22, 2018
javeme pushed a commit that referenced this issue Aug 29, 2018
…db backend

fix #22

Change-Id: Id86628f0073301a969d054d4e52b115ac9096c14
javeme pushed a commit that referenced this issue Aug 29, 2018
…db backend

fix #22

Change-Id: Id86628f0073301a969d054d4e52b115ac9096c14
@javeme javeme added this to the 0.8 milestone Apr 13, 2019
zhoney pushed a commit to zhoney/hugegraph that referenced this issue Nov 9, 2021
* K-layer extended vertex filtering
* Add user password check
* same neighbors batch

Co-authored-by: zxxxhonest <[email protected]>
Co-authored-by: guoyonggang <[email protected]>
Co-authored-by: zhaoxiangxin <[email protected]>
Co-authored-by: zxxxhonest <[email protected]>
VGalaxies pushed a commit that referenced this issue Aug 3, 2024
Change-Id: If246e9193a4c61621c942f4b88a703c28c9d2846
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants