0

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

I can see the samza jobs in YARN UI, but the following build command yields an error:

./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?

I am using Ubuntu 16.04, the Samza version is 0.13.0. Thanks for your advice!

cookiedealer
  • 381
  • 1
  • 6
  • 18
  • I think there is a typo in document. I believe the command should be `./gradlew :samza-rest:clean releaseRestServiceTar` You are missing a ":" in front of samza-rest – Navina Ramesh Jul 31 '17 at 06:43

1 Answers1

0

The releaseRestServiceTar task is defined in the samza project, not the hello-samza project.

You can clone the samza project by following these instructions

JMakes
  • 61
  • 1
  • 2