hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject [10/50] [abbrv] hive git commit: HIVE-15387: NPE in HiveServer2 webUI Historical SQL Operations section (Barna Zsombor Klara via Chaoyu Tang)
Date Thu, 02 Feb 2017 02:03:09 GMT
HIVE-15387: NPE in HiveServer2 webUI Historical SQL Operations section (Barna Zsombor Klara
via Chaoyu Tang)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/f4d7471e
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/f4d7471e
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/f4d7471e

Branch: refs/heads/hive-14535
Commit: f4d7471ec45389103b81c8e3edc9fbf96086835e
Parents: 803e1e0
Author: Chaoyu Tang <ctang@cloudera.com>
Authored: Mon Jan 30 11:35:51 2017 -0500
Committer: Chaoyu Tang <ctang@cloudera.com>
Committed: Mon Jan 30 11:35:51 2017 -0500

----------------------------------------------------------------------
 service/src/resources/hive-webapps/hiveserver2/hiveserver2.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/f4d7471e/service/src/resources/hive-webapps/hiveserver2/hiveserver2.jsp
----------------------------------------------------------------------
diff --git a/service/src/resources/hive-webapps/hiveserver2/hiveserver2.jsp b/service/src/resources/hive-webapps/hiveserver2/hiveserver2.jsp
index 6e89981..33797ed 100644
--- a/service/src/resources/hive-webapps/hiveserver2/hiveserver2.jsp
+++ b/service/src/resources/hive-webapps/hiveserver2/hiveserver2.jsp
@@ -193,7 +193,7 @@ for (HiveSession hiveSession: hiveSessions) {
         <td><%= operation.getState() %></td>
         <td><%= operation.getElapsedTime()/1000 %></td>
         <td><%= operation.getEndTime() == null ? "In Progress" : new Date(operation.getEndTime())
%></td>
-        <td><%= operation.getRuntime()/1000 %></td>
+        <td><%= operation.getRuntime() == null ? "n/a" : operation.getRuntime()/1000
%></td>
         <% String link = "/query_page?operationId=" + operation.getOperationId(); %>
         <td>  <a href= <%= link %>>Drilldown</a> </td>
     </tr>


Mime
View raw message