Database Reference
In-Depth Information
systems, this will be the /.samza/download directory. If all has
gone well, the ./bin/grid bootstrap command will work as
described in this section.
This will bring up the YARN console in a local form, suitable for
developing and testing the applications in this chapter. Next, build and
deploy the first part of the Hello Samza project to start aggregating
Wikipedia edits:
$ mvn clean package
... Omitted Output ...
[INFO] Reactor Summary:
[INFO]
[INFO] Samza Parent
................................. SUCCESS [2.707s]
[INFO] Samza Wikipedia Example
..................... SUCCESS [17.387s]
[INFO] Samza Job Package .........................
SUCCESS [1:24.473s]
[INFO]
---------------------------------------------------------------
[INFO] BUILD SUCCESS
$ mkdir -p deploy/samza
$ cd deploy/samza
$ tar xvfz \
> ../../samza-job-package/target/
samza-job-package-0.7.0-dist.tar.gz
$ ./bin/run-job.sh \
> --config-factory=\
>
org.apache.samza.config.factories.PropertiesConfigFactory
\
> --config-path=\
> file://`pwd`/config/wikipedia-feed.properties
If everything works properly there should be an application in the
YARN console with a status of RUNNING (by default this is available at
 
Search WWH ::




Custom Search