Code Monkey home page Code Monkey logo

Comments (9)

kadwanev avatar kadwanev commented on June 9, 2024

@gregory-marton question for you :)

from crosscat.

gregory-marton avatar gregory-marton commented on June 9, 2024

Sounds like you've done some investigation already. Can you share the details? In what way did it not work, which settings did you find, etc.?

from crosscat.

kadwanev avatar kadwanev commented on June 9, 2024

Oh, I thought it was intentional.

from crosscat.settings import Hadoop as hs

There appears to not be a crosscat.settings since v0.1.25
The change that has broken seems sensible and straightforward but I would ask if the implementation, if fixed, would still be functional in the current version.

from crosscat.

gregory-marton avatar gregory-marton commented on June 9, 2024

I'm actually not sure of the history. I came onboard around v0.1.40, and this was not on my radar.
@riastradh-probcomp if you have time, can you give more context?

@kadwanev, pull requests are always welcome!

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on June 9, 2024

Nobody has touched the Hadoop code in years, and it apparently requires various moving parts that were customized for one developer's setup years ago, with some private network layout and Amazon S3 account and local Hadoop installation &c.

I expect it would be easier to start from scratch than to try to revive what's there.

from crosscat.

gregory-marton avatar gregory-marton commented on June 9, 2024

Given that context, I expect the appropriate "fix" would be to remove HadoopEngine. @kadwanev, if you want to take this on instead, we would absolutely welcome it. If interested, let me know a time frame to check back with you?

from crosscat.

kadwanev avatar kadwanev commented on June 9, 2024

Understood. Thanks for the responses.

Just want to ask:
Is the distribution technique still sound?
Did it ever work?

I ask this because the only reducer reference I see is /bin/cat, which leads me to question if it collected results back into a single response.

I want to know if the current implementation is a good starting point or not.

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on June 9, 2024

There is no 'reduce' step because Crosscat's job is just to apply a transition operator to each of a number of independent states -- it's all 'map', and it is embarrassingly parallelizable, so any parallelism you throw at it should stick, no matter how trivial.

The MultiprocessingEngine is just LocalEngine with Python map replaced by multiprocessing.pool().map to transition the states in separate processes. Doing the same on different computers will certainly work just fine.

from crosscat.

kadwanev avatar kadwanev commented on June 9, 2024

Thanks. That definitely answers my question. I'll be looking to contribute some code as soon as possible.

from crosscat.

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.