GithubHelp home page GithubHelp logo

Comments (5)

mkanchwala avatar mkanchwala commented on June 5, 2024

I am using Spark 1.3.0 with AMI 3.5.0 EMR and Scala 2.10.4

from emr-bootstrap-actions.

christopherbozeman avatar christopherbozeman commented on June 5, 2024

Just use the JavaKinesisWordCountASL example from the stock build as it now picks up the master dynamically.

Like:

MASTER=yarn-client run-example ...

Also, as for credentials use roles (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-iam-roles-defaultroles.html) in order to easily pass creds to executors. I'll write up a doc on this more detail soon.

from emr-bootstrap-actions.

mkanchwala avatar mkanchwala commented on June 5, 2024

Hi @christopherbozeman

The JavaKinesisWordCountASL is working fine, I am looking into more to run a Yarn Spark job

  1. This is working fine :
    MASTER=yarn-client run-example org.apache.spark.examples.streaming.JavaKinesisWordCountASL mySparkStream https://kinesis.us-east-1.amazonaws.com

  2. But still the same problem in this one :
    MASTER=yarn-client run-example org.apache.spark.examples.streaming.JavaKinesisWordCountASLYARN mySparkStream https://kinesis.us-east-1.amazonaws.com

Also I've provided Administrator Access and AmazonKinesisFullAccess on EMR_EC2_DefaultRole

Please let me know for more details.

Thanks

from emr-bootstrap-actions.

christopherbozeman avatar christopherbozeman commented on June 5, 2024

The JavaKinesisWordCountASLYARN example was added with 1.1.0 to provide an example of Streaming with Kinesis on YARN, but it has not kept pace with other changes to the stock examples of Spark. Thus, this example is no longer valid. The stock JavaKinesisWordCountASL now supports dynamic master selection so follow this example. I have removed the outdated example in the EMR build as can be seen with pull #83 in 1.3.0.d.

from emr-bootstrap-actions.

mkanchwala avatar mkanchwala commented on June 5, 2024

Thanks for the Update @christopherbozeman.... Closing the Issue.

from emr-bootstrap-actions.

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.