Apache Samza:Samza REST和hello-samza入门

时间:2017-07-30 12:37:24

标签: gradle apache-samza

我正在关注Apache Samza website上的hello-samza教程,并希望按照此处所述添加REST服务:http://samza.apache.org/learn/tutorials/latest/samza-rest-getting-started.html

我可以在YARN UI中看到samza作业,但是以下构建命令会产生错误:

./gradlew samza-rest:clean releaseRestServiceTar

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

是否有必要从hello-samza repo

更改gradle构建文件

我使用的是Ubuntu 16.04,Samza版本是0.13.0。 谢谢你的建议!

1 个答案:

答案 0 :(得分:0)

releaseRestServiceTar项目中定义了samza任务,而不是hello-samza项目。

您可以按照these instructions

克隆samza项目
相关问题