hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acmur...@apache.org
Subject svn commit: r696746 - in /hadoop/core/trunk: CHANGES.txt src/mapred/org/apache/hadoop/mapred/HistoryViewer.java
Date Thu, 18 Sep 2008 18:10:55 GMT
Author: acmurthy
Date: Thu Sep 18 11:10:54 2008
New Revision: 696746

URL: http://svn.apache.org/viewvc?rev=696746&view=rev
Log:
HADOOP-4121. Preserve cause for exception if the initialization of HistoryViewer for JobHistory
fails. Contributed by Amareshwari Sri Ramadasu.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/HistoryViewer.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=696746&r1=696745&r2=696746&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Thu Sep 18 11:10:54 2008
@@ -631,6 +631,10 @@
     HADOOP-4084. Add explain plan capabilities to Hive Query Language.
     (Ashish Thusoo via dhruba)
 
+    HADOOP-4121. Preserve cause for exception if the initialization of
+    HistoryViewer for JobHistory fails. (Amareshwari Sri Ramadasu via
+    acmurthy) 
+
 Release 0.18.1 - 2008-09-17
 
   IMPROVEMENTS

Modified: hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/HistoryViewer.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/HistoryViewer.java?rev=696746&r1=696745&r2=696746&view=diff
==============================================================================
--- hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/HistoryViewer.java (original)
+++ hadoop/core/trunk/src/mapred/org/apache/hadoop/mapred/HistoryViewer.java Thu Sep 18 11:10:54
2008
@@ -85,7 +85,7 @@
       job = new JobHistory.JobInfo(jobId); 
       DefaultJobHistoryParser.parseJobTasks(jobFiles[0].toString(), job, fs);
     } catch(Exception e) {
-      throw new IOException("Not able to initialize History viewer");
+      throw new IOException("Not able to initialize History viewer", e);
     }
   }
   



Mime
View raw message