Coder Social home page Coder Social logo

Create package Storm about buildoop HOT 8 CLOSED

keedio avatar keedio commented on August 16, 2024
Create package Storm

from buildoop.

Comments (8)

javiroman avatar javiroman commented on August 16, 2024

Some links as guides to make the package:

https://github.com/nmilford/rpm-storm/blob/master/storm.spec
https://github.com/nttdata-oss/storm-rpms
https://github.com/ashrithr/rpm-specs/tree/master/storm-0.8
https://github.com/rfliam/storm-rhel-packaging
https://github.com/acromusashi/storm-installer
https://github.com/nmilford/rpm-storm

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

Ready for test:

commit a6cb00f

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

The package is ready to test. Runtime issues here please.

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

According with Nathan Marz documentation [1]. The Storm Cluster has native dependencies:

ZeroMQ and JZMQ.

ZeroMQ is packed by community repositories like EPEL (zeromq.x86_64 2.2.0-4.el6). However JZMQ is not GA packed right now, besides the fact that Nathan Marz maintain a frozen JZMQ fork which is tested to work with Storm [2].

So we have to make in Buildoop a jzmqstorm package in order to solve the dependencies.

[1] https://github.com/nathanmarz/storm/wiki/Installing-native-dependencies
[2] https://github.com/nathanmarz/jzmq

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

In addition to this native dependencies, we have to create a zeromq 2.1.7 package because with the current Storm version seems to have compatibility issues with later versions of zeromq.

This strong dependencies can be avoid using the new Stormโ€™s Netty transport layer [1].

We are going to support both flavors.

[1] https://storm.incubator.apache.org/2013/12/08/storm090-released.html

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

The package is ready for testing:

  1. Testing with Netty transport:

To configure Storm to use the Netty transport simply add the following to your storm.yaml configuration and adjust the values to best suit your use-case:

storm.messaging.transport: "backtype.storm.messaging.netty.Context"
storm.messaging.netty.server_worker_threads: 1
storm.messaging.netty.client_worker_threads: 1
storm.messaging.netty.buffer_size: 5242880
storm.messaging.netty.max_retries: 100
storm.messaging.netty.max_wait_ms: 1000
storm.messaging.netty.min_wait_ms: 100

  1. Testing with old-native support:

yum install jzmqstorm

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

Package status:

  1. Storm has hardcode some variables in the /usr/bin/storm Python executable. Those variables have to move to the classical location /etc/default/storm. The executable must be patch for use os.getenv("VARIABLE") sentence.
  2. The init script must be takes into account the sourcing of /etc/default/storm
  3. Storm look for the set of .jar files placed into /usr/lib/storm/lib. The current location /usr/lib/storm/.jar must be moved.

from buildoop.

javiroman avatar javiroman commented on August 16, 2024

The package mus be reworked (start and stop daemons) however the basic functionality is working.

In commit 226a4f7

from buildoop.

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.