MAPREDUCE-6426. TestShuffleHandler#testGetMapOutputInfo is failing.
Contributed by zhihai xu.
(cherry picked from commit fffb15bb43
)
This commit is contained in:
parent
d17a7bbf6e
commit
3074d7082e
|
@ -281,6 +281,9 @@ Release 2.7.2 - UNRELEASED
|
||||||
MAPREDUCE-6425. ShuffleHandler passes wrong "base" parameter to getMapOutputInfo
|
MAPREDUCE-6425. ShuffleHandler passes wrong "base" parameter to getMapOutputInfo
|
||||||
if mapId is not in the cache. (zhihai xu via devaraj)
|
if mapId is not in the cache. (zhihai xu via devaraj)
|
||||||
|
|
||||||
|
MAPREDUCE-6426. TestShuffleHandler#testGetMapOutputInfo is failing.
|
||||||
|
(zhihai xu via devaraj)
|
||||||
|
|
||||||
Release 2.7.1 - 2015-07-06
|
Release 2.7.1 - 2015-07-06
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -837,6 +837,9 @@ public class TestShuffleHandler {
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
conf.setInt(ShuffleHandler.SHUFFLE_PORT_CONFIG_KEY, 0);
|
conf.setInt(ShuffleHandler.SHUFFLE_PORT_CONFIG_KEY, 0);
|
||||||
conf.setInt(ShuffleHandler.MAX_SHUFFLE_CONNECTIONS, 3);
|
conf.setInt(ShuffleHandler.MAX_SHUFFLE_CONNECTIONS, 3);
|
||||||
|
conf.set(CommonConfigurationKeysPublic.HADOOP_SECURITY_AUTHENTICATION,
|
||||||
|
"simple");
|
||||||
|
UserGroupInformation.setConfiguration(conf);
|
||||||
File absLogDir = new File("target", TestShuffleHandler.class.
|
File absLogDir = new File("target", TestShuffleHandler.class.
|
||||||
getSimpleName() + "LocDir").getAbsoluteFile();
|
getSimpleName() + "LocDir").getAbsoluteFile();
|
||||||
conf.set(YarnConfiguration.NM_LOCAL_DIRS, absLogDir.getAbsolutePath());
|
conf.set(YarnConfiguration.NM_LOCAL_DIRS, absLogDir.getAbsolutePath());
|
||||||
|
@ -924,7 +927,8 @@ public class TestShuffleHandler {
|
||||||
} catch (EOFException e) {
|
} catch (EOFException e) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
Assert.assertEquals(failures.size(), 0);
|
Assert.assertEquals("sendError called due to shuffle error",
|
||||||
|
0, failures.size());
|
||||||
} finally {
|
} finally {
|
||||||
shuffleHandler.stop();
|
shuffleHandler.stop();
|
||||||
FileUtil.fullyDelete(absLogDir);
|
FileUtil.fullyDelete(absLogDir);
|
||||||
|
|
Loading…
Reference in New Issue