简体   繁体   English

Apache Samza:Samza REST和hello-samza入门

[英]Apache Samza: Getting Started with Samza REST and hello-samza

I am following the hello-samza tutorial on the Apache Samza website and want to add a REST service as described here: http://samza.apache.org/learn/tutorials/latest/samza-rest-getting-started.html 我正在遵循Apache Samza网站上的hello-samza教程,并希望按此处所述添加REST服务: http : //samza.apache.org/learn/tutorials/latest/samza-rest-getting-started.html

I can see the samza jobs in YARN UI, but the following build command yields an error: 我可以在YARN UI中看到samza作业,但是以下构建命令会产生错误:

./gradlew samza-rest:clean releaseRestServiceTar

FAILURE: Build failed with an exception.
Task 'samza-rest' not found in root project 'hello-samza'.

Is it necessary to change the gradle build file from the hello-samza repo ? 是否需要从hello-samza存储库更改gradle构建文件?

I am using Ubuntu 16.04, the Samza version is 0.13.0. 我正在使用Ubuntu 16.04,Samza版本是0.13.0。 Thanks for your advice! 谢谢你的建议!

The releaseRestServiceTar task is defined in the samza project, not the hello-samza project. releaseRestServiceTar任务在samza项目中定义,而不是hello-samza项目。

You can clone the samza project by following these instructions 您可以按照以下说明克隆samza项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM