Giter Site home page Giter Site logo

Comments (3)

jakubhava avatar jakubhava commented on May 21, 2024

Hi Aswin-roy,
Could you please provide us with:

  • content of your MASTER environment variable
  • complete code/script you are trying to execute

Without this information I'm not able to reproduce the issue. I suppose you are using Sparkling-shell ?

Thanks!, Kuba

from sparkling-water.

aswinjoseroy avatar aswinjoseroy commented on May 21, 2024

I am trying to run a Spark-Streaming job which does some operations and then moves on to predictions (from trained model on disk). I am running the job on a spark 1.6.0 standalone setup (single node). The amount of executors I have specified in conf is 49. But, when I log my h2oContext it comes to something like

Sparkling Water Context:

  • H2O name: sparkling-water-root_612514996

  • number of executors: 48

  • list of used executors:
    (executorId, host, port)
    ....

    Open H2O Flow in browser: http://null:0 (CMD + click in Mac OSX)

even though in the spark ui, I can see that 49 executors are up. Why is this happening? After this, I get the ERROR JobScheduler: Error running job streaming job 1460453735000 ms.0 java.lang.ArrayIndexOutOfBoundsException: 65535 on the h2oFrame creation line.

I often get these exceptions too :
Exception in thread "main" java.lang.RuntimeException: Cloud size under 48

ERROR LiveListenerBus: Listener anon1 threw an exception
java.lang.IllegalArgumentException: Executor without H2O instance discovered, killing the cloud!

I run the job using spark-submit and using the --packages ai.h2o:sparkling-water-core_2.10:1.6.1 parameter. What might be wrong with my setup?

Thanks!

from sparkling-water.

jakubhava avatar jakubhava commented on May 21, 2024

Hi aswin-roy,
thanks for the detailed explanation!

I already saw that you reacted in the issue #4 . The issue explained there is exactly why in some cases we are not able to initiate H2OContext. It's because we weren't able to find all Spark executors during the creation of H2OContext.

In Sparkling Water you are using we created a listener which checks for changes in the cluster topology and just kills the cloud if new executor without H2O instance appeared. It's not great, but at lest we get notified about what is happening.

We are undergoing an architectural discussion with the rest of the Sparkling Water team & the community what could be the best approach when dealing with this.

The java.lang.ArrayIndexOutOfBoundsException is probably just a consequence of the failed H2OContext initialisation.

I will close this one and redirect you please to comment at #4.

Thanks, Kuba!

from sparkling-water.

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.