Git Product home page Git Product logo

Comments (6)

mdymczyk avatar mdymczyk commented on May 28, 2024

@rahuljain788 from which location are you starting sparkling-shell?

from sparkling-water.

rahuljain788 avatar rahuljain788 commented on May 28, 2024

@mdymczyk am running it from the shell using command bin/sparkling-shell --num-executors 3 --executor-memory 2g --master yarn-client

Its is successfully creating sql and sparContext but here it's throwing error

Using this example to test H20 : https://github.com/h2oai/sparkling-water/blob/c454f1f8b2e29c04b49df5bc629dbadce45bc89a/examples/README.md

Maybe am getting this error because am trying to run it in yarn-client mode

from sparkling-water.

mdymczyk avatar mdymczyk commented on May 28, 2024

@rahuljain788 when you're running it on yarn then the data file has to be accessible to all executors (either on a distributed FS like HDFS or copied to all the executors). You're getting an NPE because you're trying to pass a local path to the parser and that file is accessible only from your driver. Passing the absolute path might work if your Hadoop cluster is running on your laptop.

from sparkling-water.

rahuljain788 avatar rahuljain788 commented on May 28, 2024

@mdymczyk Thank you for your reply.

The path i am passing is indeed HDFS directory path and not my driver path.

from sparkling-water.

mdymczyk avatar mdymczyk commented on May 28, 2024

@rahuljain788 so it's different than val dataFile = "examples/smalldata/allyears2k_headers.csv.gz"? Because that's not a proper HDFS URI, this will look for files on your local drive.

Please post the exact failing scenario.

from sparkling-water.

rahuljain788 avatar rahuljain788 commented on May 28, 2024

you are right this is the local path and i was assuming it to be HDFS.

Thank you

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.