From 9184c4d1794c9a2d02a7ae7807a00626ac35f8ec Mon Sep 17 00:00:00 2001 From: Vinod Kumar Vavilapalli Date: Wed, 18 Dec 2013 19:27:43 +0000 Subject: [PATCH] MAPREDUCE-5687. Correcting the previous commit by ushing the right patch. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1552069 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/java/org/apache/hadoop/mapred/TestClientRedirect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java index 1f0b89f00a..d85a23d617 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestClientRedirect.java @@ -304,7 +304,7 @@ public SubmitApplicationResponse submitApplication( @Override public KillApplicationResponse forceKillApplication( KillApplicationRequest request) throws IOException { - return recordFactory.newRecordInstance(KillApplicationResponse.class); + return KillApplicationResponse.newInstance(true); } @Override