Deploying a Samza job from HDFS
This tutorial uses hello-samza to illustrate how to run a Samza job if you want to publish the Samza job’s .tar.gz package to HDFS.
Upload the package
Add HDFS configuration
Put the hdfs-site.xml file of your cluster into ~/.samza/conf directory (The same place as the yarn-site.xml). If you set HADOOP_CONF_DIR, put the hdfs-site.xml in your configuration directory if the hdfs-site.xml is not there.
Change properties file
Change the yarn.package.path in the properties file to your HDFS location.
Then you should be able to run the Samza job as described in hello-samza.