Browse Source

MAPREDUCE-7442. Exception message is not intusive when accessing the job configuration web UI (#5848)

yu liang 1 year ago
parent
commit
caf1816e0e

+ 1 - 1
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/webapp/ConfBlock.java

@@ -113,7 +113,7 @@ public class ConfBlock extends HtmlBlock {
           __();
     } catch(IOException e) {
       LOG.error("Error while reading "+confPath, e);
-      html.p().__("Sorry got an error while reading conf file. ", confPath);
+      html.p().__("Sorry got an error while reading conf file. ", confPath).__();
     }
   }
 }