Giter VIP home page Giter VIP logo

Comments (6)

mmalohlava avatar mmalohlava commented on May 22, 2024

Hi Yang,

if you would like to point to some data store on HDFS/S3, please point URI to them:

val hf = new H2OFrame(new java.net.URI("hdfs//mynamenode/mydirectory/myfile.csv"))

The same for S3.

If you would like to parse a local file, it has to be distributed to each node in the cluster:
val hf = new H2OFrame(new java.io.File("/my/cluster/datastore/file.csv"))

Right now, we our API does not provide a shortcut for upload of local file (open issue:
https://0xdata.atlassian.net/browse/SW-56).

Thank you
Michal

On 12/3/15 11:59 AM, Yang Lei wrote:

I can run sample using spark-submit against a --master=local[2]. However when I target it to my
mesos cluster, I got NPE: by class water.parser.ParseSetup$GuessSetupTsk; class
java.lang.NullPointerException: null
at water.parser.ParseSetup$GuessSetupTsk.map(ParseSetup.java:269)
at water.MRTask.compute2(MRTask.java:624)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1017)

If the issue is related to how the sample is loading the data, I wonder if we should be creating
some sample that will work with remote clusters, e.g. hosting the data on S3..

Thank you .

Yang.


Reply to this email directly or view it on GitHub
#23.

from sparkling-water.

yanglei99 avatar yanglei99 commented on May 22, 2024

Thanks Michal,

So basically we are saying the samples only work for local mode. That is the reason I asked if we should host the sample data somewhere like s3 and so it can run out of box.

I will lose the issue now. Thank you.

Yang

from sparkling-water.

yanglei99 avatar yanglei99 commented on May 22, 2024

Another thought is if the sample can read the "SPARKLING_WATER_HOME" to construct the full path of where the file is. So that as long as the target slaves also having the Sparking Water installed, it will be able to load the file.

Thanks. Yang.

from sparkling-water.

yanglei99 avatar yanglei99 commented on May 22, 2024

verified the sample works after changing the file location to be downloadable.

from sparkling-water.

crystalfuns avatar crystalfuns commented on May 22, 2024

How to connect sparklingwater to DCOS Mesos Spark Cluster ?

from sparkling-water.

mmalohlava avatar mmalohlava commented on May 22, 2024

Right now, we do not provide any explicit support for DC/OS. However, any feedback, recommendations, or requirements are welcomed.

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.