Просмотр исходного кода

MAPREDUCE-7103. Fix TestHistoryViewerPrinter on windows due to a mismatch line separator. Contributed by Giovanni Matteo Fumarola.

(cherry picked from commit 0afc036deb35df7e86ede3dcebc430c8f05ed368)
Inigo Goiri 7 лет назад
Родитель
Сommit
cd34c229a7

+ 2 - 0
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestHistoryViewerPrinter.java

@@ -43,6 +43,8 @@ public class TestHistoryViewerPrinter {
 
   private final String LINE_SEPARATOR = System.lineSeparator();
 
+  private final String LINE_SEPARATOR = System.lineSeparator();
+
   @Test
   public void testHumanPrinter() throws Exception {
     JobHistoryParser.JobInfo job = createJobInfo();