When a macro is used in a template and refers to a missing item on the cluster, Coopr returns the unresolved macro.
When the hadoop-mapreduce-historyserver service is present on the cluster, this resolves to the address of that server. Otherwise, the following is inserted into /etc/hadoop/conf/mapred-site.xml
This can be read by other processes, such as Hive, and prevents the service from functioning correctly. We need a better way to handle this case.