If you may received an info message retrying connect to server already tried number of times when running the samza jobs in Linux,
2016-01-02 10:44:41 Client [INFO] Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
You need to check the yarn-site.xml file to be set the resource-manager hostname and port or check your hostname.
To know your hostname
Open the /etc/hosts file and append the below line,
$ sudo vim /etc/hosts
then, update in your host file: yarn-site.xml