Configuring for Disaster Recovery in Releases Prior to HDP 2.5
MapReduce for Hive Replication
A temporary fix is needed in MapReduce for Hive replication. The string
/etc/hadoop/conf
must be added to the
mapreduce.application.classpath
property in
mapred-site
through Ambari, before
/etc/hadoop/conf/secure
. For example, the end of the parameter
will look like:
mapreduce.application.classpath=...:/etc/hadoop/conf:/etc/hadoop/conf/secure
.
This is a temporary workaround for
https://hortonworks.jira.com/browse/BUG-56803
fixed in versions of HDP
2.4.2 and later. This workaround may cause MapReduce jobs to fail during rolling
upgrades due to the underlying configuration changing during job execution.