In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Download Storm and related components, including:
Storm package: https://storm.apache.org/downloads.html
ZeroMQ package: http://zeromq.org/area:download
JZMQ package: https://github.com/nathanmarz/jzmq
2. Install the dependency package
1. Install ZeroMQ package and JZMQ package
General steps:
. / configure
Make
Make install
The prefix of the default configure-prefix=/usr/local
2, a collection of questions
1) gcc is not installed:
Configure: error: no acceptable C compiler found in $PATH
Solution: yum install gcc
2) gcc-related packet conflicts
Glibc-common-2.12-1.80.el6.i686 (installed) Requires: glibc = 2.12-1.80.el6
Solution: yum list glibc
Yum remove glibc.i686
Yum install gcc
3) C++ compiler is not installed
Configure: error: Unable to find a working C++ compiler
Solution: yum install gcc-c++
4) libsodium is not installed
No package 'libsodium' found
Solution: download and install libsodium:
Https://download.libsodium.org/libsodium/releases/
5) libsodium was not found
No package 'libsodium' found
Solution: set the environment variable: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
3. Configure Storm
Add to the 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 zookeeper is located
Second parameter: local path, which must be created manually
Third parameter: specify the primary node
Fourth parameter: specify the working port of the slave node
The first parameter and the fourth parameter are array types, which need to be written on separate lines, while the other two are string types that cannot be written separately, and a space is required after the colon, otherwise an error will be reported.
4. Run the program
Master node: bin/storm nimbus > / dev/null 2 > & 1 &
Slave node: bin/storm supervisor > / dev/null 2 > & 1 &
Master node management: bin/storm ui > / dev/null 2 > & 1 &
Management page: master node: 8080
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.