Don't output namenode webaddress unless doing HDFS
Fix corner case in job history server setup