Coder Social home page Coder Social logo

Comments (11)

vackosar avatar vackosar commented on May 19, 2024

Can you share your configuration?

from spline.

rjbarrington avatar rjbarrington commented on May 19, 2024

Something like this in spline.properties, run via spark-submit --class za.co.absa.spline.sample.batch.SampleJob2 spline-sample-0.3.1.jar

# Spline lineage config
spline.persistence.factory=za.co.absa.spline.persistence.api.composition.ParallelCompositeFactory
spline.persistence.composition.factories=za.co.absa.spline.persistence.atlas.AtlasPersistenceFactory,za.co.absa.spline.persistence.mongo.MongoPersistenceFactory

# MongoDB config for UI
spline.mongodb.url=mongodb://bar.domain:27017
spline.mongodb.name=spline

# Atlas Kafka config
atlas.kafka.bootstrap.servers=foo.domain:9027

# Combinations tested with Spline SampleJob2
# HDFS + Atlas + Mongo = fail
#spline.persistence.composition.factories=za.co.absa.spline.persistence.hdfs.HdfsPersistenceFactory,za.co.absa.spline.persistence.atlas.AtlasPersistenceFactory,za.co.absa.spline.persistence.mongo.MongoPersistenceFactory
# Atlas + Mongo = fail
#spline.persistence.composition.factories=za.co.absa.spline.persistence.atlas.AtlasPersistenceFactory,za.co.absa.spline.persistence.mongo.MongoPersistenceFactory
# HDFS + Atlas = works
#spline.persistence.composition.factories=za.co.absa.spline.persistence.hdfs.HdfsPersistenceFactory,za.co.absa.spline.persistence.atlas.AtlasPersistenceFactory
# HDFS + Mongo = works
#spline.persistence.composition.factories=za.co.absa.spline.persistence.hdfs.HdfsPersistenceFactory,za.co.absa.spline.persistence.mongo.MongoPersistenceFactory

from spline.

vackosar avatar vackosar commented on May 19, 2024

Does this occur also when using Atlas only?

from spline.

vackosar avatar vackosar commented on May 19, 2024

hm I can see mutable ArrayBuffer in the stack that could be the problem.

from spline.

vackosar avatar vackosar commented on May 19, 2024

I reproduced the exception. I will have a quick look now.

from spline.

vackosar avatar vackosar commented on May 19, 2024

This is caused by simultaneously linking to other lineages and saving to Atlas as well. I will implement fix storing non-linked lineages only to Atlas.

from spline.

rjbarrington avatar rjbarrington commented on May 19, 2024

Just confirming that it doesn't occur when using Atlas only. Thanks for checking it out.

from spline.

vackosar avatar vackosar commented on May 19, 2024

The fix commit is available on release branch 0.3 here: 179283e
I dont want to release new release just yet due to significant overhead of it.
Can you build it from the source using the snapshot version at the moment?

from spline.

vackosar avatar vackosar commented on May 19, 2024

Let me know if u have issues with above solution.

from spline.

rjbarrington avatar rjbarrington commented on May 19, 2024

Sorry, got busy. I'll have a look this weekend.

from spline.

rjbarrington avatar rjbarrington commented on May 19, 2024

Yep, that works for me.

from spline.

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.