From e1990ab4275b9092cae3573334791f7b2f8df7e5 Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Thu, 5 Feb 2015 20:13:31 +0000 Subject: [PATCH] MAPREDUCE-6186. Redundant call to requireJob() while displaying the conf page. Contributed by Rohit Agarwal --- hadoop-mapreduce-project/CHANGES.txt | 3 +++ .../apache/hadoop/mapreduce/v2/app/webapp/AppController.java | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 06da40876a..3a56891a16 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -338,6 +338,9 @@ Release 2.7.0 - UNRELEASED MAPREDUCE-5988. Fix dead links to the javadocs in mapreduce project. (aajisaka) + MAPREDUCE-6186. Redundant call to requireJob() while displaying the conf + page (Rohit Agarwal via jlowe) + Release 2.6.0 - 2014-11-18 INCOMPATIBLE CHANGES diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/webapp/AppController.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/webapp/AppController.java index d7929cc8e3..53f21db12d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/webapp/AppController.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/webapp/AppController.java @@ -313,7 +313,6 @@ protected Class confPage() { * Render the /conf page */ public void conf() { - requireJob(); try { requireJob(); }