GithubHelp home page GithubHelp logo

Comments (6)

rayokota avatar rayokota commented on June 9, 2024

Do you get the same result if you set .setBulkLoaderSkipWAL(false)?

from hgraphdb.

youzp avatar youzp commented on June 9, 2024

@rayokota thanks, today i will try it.

from hgraphdb.

youzp avatar youzp commented on June 9, 2024

@rayokota Sorry for the delay, i have tried several times after set .setBulkLoaderSkipWAL(false), when the amount of data reaches more than one billion, data missing from each query will appear. Are there other ways to ensure that data is not lost?

from hgraphdb.

rayokota avatar rayokota commented on June 9, 2024

If you are using vertex indices, please try again with 2.0

from hgraphdb.

youzp avatar youzp commented on June 9, 2024

Maybe I have found the reason for the missing data.An abnormal data containing '\u0000' causes asynchronous process of a piece of data to fail.

ERROR AsyncProcess: Cannot get replica 0 location for

java.lang.IllegalArgumentException: Cannot encode String values containing '\u0000'
at org.apache.hadoop.hbase.util.OrderedBytes.encodeString(OrderedBytes.java:963)
at io.hgraphdb.ValueUtils.serialize(ValueUtils.java:196)
at io.hgraphdb.models.EdgeIndexModel.serializeForWrite(EdgeIndexModel.java:363)
at io.hgraphdb.mutators.EdgeIndexWriter.constructPut(EdgeIndexWriter.java:58)
at io.hgraphdb.mutators.EdgeIndexWriter.lambda$constructInsertions$55(EdgeIndexWriter.java:51)
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.HashMap$EntrySpliterator.tryAdvance(HashMap.java:1712)
at java.util.stream.StreamSpliterators$WrappingSpliterator.                                              lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:          206) 
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils$2.hasNext(IteratorUtils.java:209)
at org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils.fill(IteratorUtils.java:62)
at org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils.list(IteratorUtils.java:85)
at io.hgraphdb.HBaseBulkLoader.getMutationList(HBaseBulkLoader.java:219)
at io.hgraphdb.HBaseBulkLoader.indexEdge(HBaseBulkLoader.java:142)
at io.hgraphdb.HBaseBulkLoader.addEdge(HBaseBulkLoader.java:125)

from hgraphdb.

rayokota avatar rayokota commented on June 9, 2024

Thanks for letting me know. Closing this issue.

from hgraphdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.