Steps for building storm centralization in linux and building linuxstorm centralization

Source: Internet
Author: User

Steps for building storm centralization in linux and building linuxstorm centralization

1 Environment

Centos7, apache-storm-1.1.1, jdk1.8, python 2.7.5, zookeeper-3.4.11 Cluster

2 steps:

2.1 Download and decompress apache-storm-1.1.1.tar.gz to linux

tar vxzf apache-storm-1.1.1.tar.gz

2.2 Configuration

2.2.1 switch to the storm configuration directory

cd apache-storm-1.1.1/conf/

2.2.2 modify the following configurations in storm. yaml

storm.zookeeper.servers:    - "192.168.80.128"    - "192.168.80.131"    - "192.168.80.132"storm.local.dir: "/home/laoguan/storm"nimbus.seeds: ["192.168.80.128", "192.168.80.131", "192.168.80.132"]supervisor.slots.ports:   - 6700   - 6701   - 6702   - 6703torm.health.check.dir: "healthchecks"storm.health.check.timeout.ms: 5000

(Note: There must be spaces. Otherwise, an error will be reported. You are advised to paste the ip address and change it to your zk cluster .)

Configuration item Configuration instructions
Storm. zookeeper. servers ZooKeeper Server LIST
Storm. local. dir Local file system directory used by storm (must exist and the storm process can be read and written)
Nimbus. seeds The address of the master node. Multiple addresses can be configured.
Supervisor. slots. ports List of ports that can run workers on the supervisor. each worker occupies one port, and each port runs only one worker. this configuration allows you to adjust the number of workers running on each machine. (adjust the number of slots per server)
Torm. health. check. dir Node health check directory
Storm. health. check. timeout. ms Timeout settings

2.2.3 to start storm, switch to the bin directory of storm first.

./storm nimbus./storm ui./storm logviewer


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.