Deploy Samza Job To CDH
The tutorial assumes you have successfully run hello-samza and now you want to deploy the job to your Cloudera Data Hub (CDH). This tutorial is based on CDH 5.4.0 and uses hello-samza as the example job.
Compile Package for CDH 5.4.0
We need to use a specific compile option to build hello-samza package for CDH 5.4.0
Upload Package to Cluster
There are a few ways of uploading the package to the cluster’s HDFS. If you do not have the job package in your cluster, scp from you local machine to the cluster. Then run
Get Deploying Scripts
Untar the job package (assume you will run from the current directory)
Add Package Path to Properties File
Change the yarn package path: