从源代码构建自定义的Apache Storm rpm? [英] Build a custom Apache Storm rpm from source?

查看:265
本文介绍了从源代码构建自定义的Apache Storm rpm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图基于最新的0.9.x分支构建RPM,因为0.9.6版包含一个严重的错误修复,但是该版本没有正式发行.

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.

构建并运行RPM时,出现以下消息:

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


Storm客户端只能在发行版中运行.您似乎正在尝试运行 客户从Storm的源代码中签出.


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.

您可以在以下位置下载Storm版本 http://storm-project.net/downloads.html

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

我找不到build_release.sh脚本,我认为自该博客发布以来,该脚本已被删除.

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

关于如何构建自定义0.9.x RPM的任何建议?

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

推荐答案

此错误消息告诉您下载了错误的文件.如果您查看该文件,则可能约为1.5mb.您仅下载了客户端.下载服务器和客户端版本(大约77.5mb).

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).

这是当前正确的链接.

解压缩此文件并查看子文件夹示例(我建议使用intellij IDEA(15.03).在示例中,您将找到可以编译的拓扑示例(通过mvn clean软件包).

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)).

我个人有一个运行(CentOS版本6)的虚拟机,并按照说明

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

这篇关于从源代码构建自定义的Apache Storm rpm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆