ChenBinaBGitHub

Results issues of ChenBinaBGitHub

### Expected behavior 期望表现 {type something here...} ### Actual behavior 实际表现 {type something here...} ### Steps to reproduce the problem 复现步骤 1. {step 1} 2. {step 2} 3. {step 3}...

inactive

### Expected behavior 期望表现 是否有如下类似的方法 schema.changeproperty('phone','dhhm') (changeproperty 假设是修改属性名称的方法) 将属性 phone 的名称 改成 dhhm ### Actual behavior 实际表现 {type something here...} ### Steps to reproduce the problem 复现步骤 1. {step 1}...

inactive

### Expected behavior 期望表现 {type something here...} rdd.foreachPartition{ graph= HugeFactory.open(propertyToBaseConf(loadLocalProperty(hugeProperties))) } 希望可以在每个partition内 打开 graph,进行多线程入库 ### Actual behavior 实际表现 {type something here...} 报错如下: Lost task 1.0 in stage 0.0 (TID 1,...

inactive

server 入库 时,大约有1亿条边,入库至4000w时,就会抛出OOM,异常,如下: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.nio.HeapByteBuffer.(HeapByteBuffer.java:57) at java.nio.ByteBuffer.allocate(ByteBuffer.java:335) at com.baidu.hugegraph.backend.serializer.BytesBuffer.(BytesBuffer.java:67) at com.baidu.hugegraph.backend.serializer.BytesBuffer.allocate(BytesBuffer.java:76) at com.baidu.hugegraph.backend.serializer.BinarySerializer.formatEdgeName(BinarySerializer.java:174) at com.baidu.hugegraph.backend.serializer.BinarySerializer.newBackendEntry(BinarySerializer.java:88) at com.baidu.hugegraph.backend.serializer.BinarySerializer.writeEdge(BinarySerializer.java:382) at com.baidu.hugegraph.backend.tx.GraphTransaction.prepareAdditions(GraphTransaction.java:238) at com.baidu.hugegraph.backend.tx.GraphTransaction.prepareCommit(GraphTransaction.java:208)...

inactive

server入边时,graph = HugeFactory.open('hugegraph.properties'),当 graph.close().再次打开graph时, 当执行: srcVertex.addEdge('label',dstVertex) 报错: Exception in thread "main" java.lang.IllegalStateException: Graph 'hugegraph[hugegraph_test_2019_04_11]' has been closed at com.google.common.base.Preconditions.checkState(Preconditions.java:199) at com.baidu.hugegraph.util.E.checkState(E.java:68) at com.baidu.hugegraph.HugeGraph.checkGraphNotClosed(HugeGraph.java:274) at com.baidu.hugegraph.HugeGraph.schemaTransaction(HugeGraph.java:293) at com.baidu.hugegraph.HugeGraph.edgeLabel(HugeGraph.java:429) at com.baidu.hugegraph.structure.HugeVertex.addEdge(HugeVertex.java:251) at...

if (i % 1000000 == 0) { //每1000000 提交一次 进行一次事物关闭,打开操作 graph.closeTx() g.close() graph.close() graph = HugeFactory.open(hugeProperties) g = graph.traversal() graph.tx().open() } ### Expected behavior 期望表现 {type something here...} 期待程序可以正常入库 ###...

inactive

hugegraph0.9.2版本: Opening RocksDB with data path: /home/kngraph/hugegraph/data/hugegraph/graph 2019-04-24 20:12:08 1102 [main] [INFO ] com.baidu.hugegraph.backend.store.rocksdb.RocksDBStore [] - Failed to open RocksDB '/home/kngraph/hugegraph/data/hugegraph/graph' with database 'hugegraph', try to init CF later Exception...

inactive