Storm Cluster deployment

Source: Internet
Author: User

Pre-conditions

Python 2.6.6 and Java 8 installed

Create an Account

This account is used by the Storm service and will become one of HDFs's user accounts in the future.

Useradd Dean
Create a public key

Su-deanssh-keygen-t Rsa-p '  

Download and Unzip
wget Https://github.com/apache/storm/archive/v0.10.0-beta1.tar.gztar ZXVF v0.10.0-beta1.tar.gz
Unzip and place in the/DATA/SLOT0/STORM-0.10.0-BETA1 directory

Configuration

1. Establish/data/slot0/storm soft link, point to/data/slot/storm-0.10.0-beta1

2. Change the two storm directories owner to Dean, for example:

Chown-r Dean:dean Storm
3. Switch to storm account and start editing the Conf/storm.yaml file
CP Storm.yaml.example Storm.yaml
There are many default values in the Defaults.yaml file, and if you no longer overwrite them in the Storm.yaml file, these default values will be used
Storm.local.dir: "Storm-local"
Storm-local saves the program jar packages and configuration files for topology deployed on Storm.

Since the Storm installation directory is on a large disk partition, the default setting is still used here to configure the Storm-local directory in the directory

4. Set the address of the zookeeper, the port number is not set because the default port is used

For the time being set so much

########### these must is filled in for a storm configurationstorm.zookeeper.servers:     -"10-149-11-146"     -"10-149 -11-147 "     -" 10-149-11-148 "Nimbus.host:" 10-149-11-147 "

Then copy the storm directory to each server




Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Storm Cluster deployment

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.