MAPREDUCE-5414. TestTaskAttempt fails in JDK7 with NPE. Contributed by Nemon Lou.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1520964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f2bf68b73
commit
b2af6c7024
|
@ -253,6 +253,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||||
|
|
||||||
MAPREDUCE-5475. MRClientService does not verify ACLs properly (jlowe)
|
MAPREDUCE-5475. MRClientService does not verify ACLs properly (jlowe)
|
||||||
|
|
||||||
|
MAPREDUCE-5414. TestTaskAttempt fails in JDK7 with NPE (Nemon Lou via
|
||||||
|
devaraj)
|
||||||
|
|
||||||
Release 2.1.0-beta - 2013-08-22
|
Release 2.1.0-beta - 2013-08-22
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -343,7 +343,7 @@ public class TestTaskAttempt{
|
||||||
TaskAttemptImpl taImpl =
|
TaskAttemptImpl taImpl =
|
||||||
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
||||||
splits, jobConf, taListener,
|
splits, jobConf, taListener,
|
||||||
mock(Token.class), new Credentials(),
|
new Token(), new Credentials(),
|
||||||
new SystemClock(), null);
|
new SystemClock(), null);
|
||||||
|
|
||||||
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
||||||
|
@ -399,7 +399,7 @@ public class TestTaskAttempt{
|
||||||
TaskAttemptImpl taImpl =
|
TaskAttemptImpl taImpl =
|
||||||
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
||||||
splits, jobConf, taListener,
|
splits, jobConf, taListener,
|
||||||
mock(Token.class), new Credentials(),
|
new Token(), new Credentials(),
|
||||||
new SystemClock(), appCtx);
|
new SystemClock(), appCtx);
|
||||||
|
|
||||||
NodeId nid = NodeId.newInstance("127.0.0.2", 0);
|
NodeId nid = NodeId.newInstance("127.0.0.2", 0);
|
||||||
|
@ -456,7 +456,7 @@ public class TestTaskAttempt{
|
||||||
TaskAttemptImpl taImpl =
|
TaskAttemptImpl taImpl =
|
||||||
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
||||||
splits, jobConf, taListener,
|
splits, jobConf, taListener,
|
||||||
mock(Token.class), new Credentials(),
|
new Token(), new Credentials(),
|
||||||
new SystemClock(), appCtx);
|
new SystemClock(), appCtx);
|
||||||
|
|
||||||
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
||||||
|
@ -516,7 +516,7 @@ public class TestTaskAttempt{
|
||||||
TaskAttemptImpl taImpl =
|
TaskAttemptImpl taImpl =
|
||||||
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
new MapTaskAttemptImpl(taskId, 1, eventHandler, jobFile, 1,
|
||||||
splits, jobConf, taListener,
|
splits, jobConf, taListener,
|
||||||
mock(Token.class), new Credentials(),
|
new Token(), new Credentials(),
|
||||||
new SystemClock(), appCtx);
|
new SystemClock(), appCtx);
|
||||||
|
|
||||||
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
||||||
|
@ -582,7 +582,7 @@ public class TestTaskAttempt{
|
||||||
|
|
||||||
TaskAttemptImpl taImpl = new MapTaskAttemptImpl(taskId, 1, eventHandler,
|
TaskAttemptImpl taImpl = new MapTaskAttemptImpl(taskId, 1, eventHandler,
|
||||||
jobFile, 1, splits, jobConf, taListener,
|
jobFile, 1, splits, jobConf, taListener,
|
||||||
mock(Token.class), new Credentials(), new SystemClock(), appCtx);
|
new Token(), new Credentials(), new SystemClock(), appCtx);
|
||||||
|
|
||||||
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
||||||
ContainerId contId = ContainerId.newInstance(appAttemptId, 3);
|
ContainerId contId = ContainerId.newInstance(appAttemptId, 3);
|
||||||
|
@ -631,7 +631,7 @@ public class TestTaskAttempt{
|
||||||
|
|
||||||
TaskAttemptImpl taImpl = new MapTaskAttemptImpl(taskId, 1, eventHandler,
|
TaskAttemptImpl taImpl = new MapTaskAttemptImpl(taskId, 1, eventHandler,
|
||||||
jobFile, 1, splits, jobConf, taListener,
|
jobFile, 1, splits, jobConf, taListener,
|
||||||
mock(Token.class), new Credentials(), new SystemClock(), appCtx);
|
new Token(), new Credentials(), new SystemClock(), appCtx);
|
||||||
|
|
||||||
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
NodeId nid = NodeId.newInstance("127.0.0.1", 0);
|
||||||
ContainerId contId = ContainerId.newInstance(appAttemptId, 3);
|
ContainerId contId = ContainerId.newInstance(appAttemptId, 3);
|
||||||
|
|
Loading…
Reference in New Issue