Giter VIP home page Giter VIP logo

storm-yarn's Introduction

storm-yarn-master

storm on yarn application master

This is to provide basic storm on YARN functionality. It is still a work in progress.

Contributors

Build:

To run the tests you need an instance of storm installed and reachable on your PATH.

mvn package

If you want to skip the tests you can run

mvn package -DskipTests

Deploy:

You need to install a version of storm on the hadoop gateway.

You also need to place a corresponding storm.zip file in HDFS so it can be shipped to all of the nodes through the distributed cache at

/lib/storm/<storm-version>/storm.zip

If you are running storm using zeromq and jzmq you need to augment the standard storm.zip file the needed .so files. This can be done with the not ideally named create-tarball.sh script

create-tarball.sh storm.zip

Ideally the storm.zip file is a world readable file installed by ops so there is only one copy in the distributed cache ever.

Run:

The yarn-storm command provides a way to launch a storm cluster. In the future it is intended to also provide ways to manage the cluster.

To launch a cluster you can run

storm-yarn launch [<storm-yarn config>]

storm-yarn configuration will be used to launch a Storm cluster. storm-yarn has a number of new config options to configure the storm AM.

  • master.initial-num-supervisors is the number of supervisors to launch with storm.
  • master.container.size-mb is the size of the container to request.

For a full list of commands and options you can run

storm-yarn help

Known Issues:

The is no failover when nimbus goes down. Still working on it.

There is no easy way to get the normal storm client to connect to the nimbus server that was just launched. (You need to find the host and port and then configure it automatically on the command line.)

The default UI port is the same as the default MR shuffle port. You probably want to change that to avoid collisions.

There is no simple way to get to the logs for the different processes.

License

The use and distribution terms for this software are covered by the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

storm-yarn's People

Contributors

anfeng avatar revans2 avatar

Watchers

jekey avatar

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.