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 a project with Storm cluster

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

How to take Storm cluster deployment project, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

How to submit your code to the Storm platform to run in a production environment.

1: first of all, make sure that your engineering code is perfect. Can run under LocalMode

2: export your Storm jar package as shown in the figure:

In the screenshot above, the values include:

2. 1: src directory

Please uncheck the .classapth location path for the 2.2:.project directory.

Note:

Under our lib directory, there is a subdirectory called NoStorm, which means that our entire project contains not only the jar package meaning of Strom, but also other jar packages. Be sure to put the three-party jar packages you need under the Storm_home/lib directory in the cluster.

Add:

1: please do not use Export everywhere to export Runnbalejar in Runnable jar,Eclipse will automatically package two configuration files, resulting in conflicts between the configuration files of the cluster itself and the Jar package

2: once no zip occurs in your Export jar package, or the error that unpackage zip cannot parse jar, please be sure

2.1Checkup your jar package for errors

2.2: check that your jar packet has errors during transmission

2.3: check if there is something wrong with your Storm server environment

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

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