Storm Installation and Configuration

Source: Internet
Author: User


1. Download storm and related components, including:

Storm Pack: https://storm.apache.org/downloads.html

ZEROMQ Bag: Http://zeromq.org/area:download

JZMQ Bag: HTTPS://GITHUB.COM/NATHANMARZ/JZMQ

2. Install dependent packages

1, install ZEROMQ Pack and JZMQ pack

General steps:

./configure

Make

Make install

The default configure prefix--prefix=/usr/local

2, Problem collection

1) GCC not installed:

Configure:error:no acceptable C compiler found in $PATH

Workaround: Yum Install gcc

2) GCC related packet conflict

glibc-common-2.12-1.80.el6.i686 (installed) REQUIRES:GLIBC = 2.12-1.80.el6

Workaround: Yum list glibc

Yum Remove glibc.i686

Yum Install GCC

3) C + + compiler not installed

Configure:error:Unable to find a working C + + compiler

Workaround: Yum Install gcc-c++

4) Libsodium not installed

No package ' libsodium ' found

Workaround: Download and install Libsodium:

https://download.libsodium.org/libsodium/releases/

5) Libsodium not found

No package ' libsodium ' found

WORKAROUND: Set Environment variables: Export Pkg_config_path=/usr/local/lib/pkgconfig

3. Configure Storm

Add in Conf/storm.yaml:

Storm.zookeeper.servers:-"XHADOOP1"-"XHADOOP2"-"XHADOOP3" Storm.local.dir: "/root/home/storm_work" Nimbus. Host: "XHadoop1" Supervisor.slots.ports:-6700-6701-6702-6703

First parameter: All node servers where the zookeeper is located

Second parameter: Local path, must be created manually

Third parameter: Specify a master node

Fourth parameter: Specify the slave node of the working port

Where the first parameter and the fourth parameter is an array type, need to write a branch, the other two is the string type cannot be written in line, and the colon after the need for a space, otherwise error

4. Running the program

Master node: Bin/storm nimbus >/dev/null 2>&1 &

From node: Bin/storm supervisor >/dev/null 2>&1 &

Master Node Management: Bin/storm UI >/dev/null 2>&1 &

Administration page: Master node: 8080



This article is from the "zero-based" blog, so be sure to keep this source http://loverofvenus.blog.51cto.com/2766338/1670583

Storm Installation and Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.