Build a custom Apache Storm rpm from source?

可紊 提交于 2019-12-13 04:11:19

问题


I am trying to build an RPM based on the latest 0.9.x branch, because the version 0.9.6 contains a critical bug fix but there is no official release for that version.

When I build my RPM and run it, I get this message:


The storm client can only be run from within a release. You appear to be trying to run the client from a checkout of Storm's source code.

You can download a Storm release at http://storm-project.net/downloads.html


This blog describes how to build the from source:

http://blog.pangyanhan.com/posts/2014-04-04-how-to-build-the-storm-client-from-source.html

But it instructs to run this command:

chmod a+x bin/build_release.sh bin/build_release.sh

I cannot find the build_release.sh script, I believe it was removed since that blog posting.

Any suggestions on how I can build a custom 0.9.x RPM?


回答1:


This error message tells you have downloaded the wrong file. If you have a look at the file it will probably be about 1.5mb. You have downloaded the client only. Download the server and client version (it should be about 77.5mb).

Here is the current correct link.

unpack this and look into the subfolder examples (i recommend using intellij IDEA (15.03). In examples, you will find samples of topologies you can compile (via mvn clean package)).

i personally have a virtual machine with (CentOS version 6) running and followed the instructions here.



来源:https://stackoverflow.com/questions/32377813/build-a-custom-apache-storm-rpm-from-source

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!