git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@696746 13f79535-47bb-0310-9956-ffa450edef68
@@ -631,6 +631,10 @@ Trunk (unreleased changes)
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
@@ -85,7 +85,7 @@ class HistoryViewer {
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);
}