Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy jstorm clusters

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to deploy jstorm clusters". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to deploy jstorm clusters.

Download Install JStorm for jstorm cluster deployment

Take jstorm-0.9.6.zip as an example

Unzip jstorm-0.9.6.1.zipvi / .bashrcexport JSTORM_HOME=/XXXXX/XXXXexport PATH=$PATH:$JSTORM_HOME/bin

Vi $JSTORM_HOME/conf/storm.yaml

Storm.zookeeper.servers:

-"192.168.144.79"

-"192.168.145.138"

-"192.168.145.129"

Nimbus.host: "192.168.144.79"

Storm.local.dir: "% JSTORM_HOME%/data"

Supervisor.slots.ports.base: 6800

Supervisor.slots.port.cpu.weight: 1.2

Supervisor.slots.port.mem.weight: 0.7

Supervisor.slots.ports: null

# mkdir ~ / .jstorm

# cp-f $JSTORM_HOME/conf/storm.yaml ~ / .jstorm

Install JStorm Web UI

Note: Web UI can run on the node different from the Nimbus node.

Download tomcat 7.x (take apache-tomcat-7.0.37 as an example)

Mkdir ~ / .jstorm cp-f $JSTORM_HOME/conf/storm.yaml ~ / .jstormtar-xzf apache-tomcat-7.0.37.tar.gzcd apache-tomcat-7.0.37cd webappscp $JSTORM_HOME/jstorm-ui-0.9.6.1.war. / mv ROOT ROOT.oldln-s jstorm-ui-0.6.1 ROOTcd.. / bin./startup.shStart JStorm$JSTORM_HOME/bin/start.sh so far, I believe you have a better understanding of "how to deploy jstorm clusters". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report