PR #1792 changed the way the configuration is created for JobTest. Instead of instantiating a JobConf it instantiates Configuration, which doesn't include a few configuration files. One of these files is hadoop-mapreduce-client-core-2.6.0.t01.jar!/mapred-default.xml, that sets mapreduce.framework.name as local by default.
PR #1792 changed the way the configuration is created for
JobTest
. Instead of instantiating aJobConf
it instantiatesConfiguration
, which doesn't include a few configuration files. One of these files ishadoop-mapreduce-client-core-2.6.0.t01.jar!/mapred-default.xml
, that setsmapreduce.framework.name
aslocal
by default.cc/ @dieu @ttim @pankajroark @johnynek