【问题标题】:Apache Samza: Getting Started with Samza REST and hello-samzaApache Samza:Samza REST 和 hello-samza 入门
【发布时间】:2017-07-30 12:37:24
【问题描述】:

我正在关注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。 谢谢你的建议!

【问题讨论】:

  • 我认为文档中有错字。我相信命令应该是./gradlew :samza-rest:clean releaseRestServiceTar你在 samza-rest 前面缺少一个“:”

标签: gradle apache-samza


【解决方案1】:

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

您可以通过关注these instructions来克隆samza项目

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-05-20
    • 1970-01-01
    • 2018-09-17
    • 2019-03-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多