Index: hwi/web/session_kill.jsp
===================================================================
--- hwi/web/session_kill.jsp (revision 1311670)
+++ hwi/web/session_kill.jsp (working copy)
@@ -14,11 +14,11 @@
See the License for the specific language governing permissions and
limitations under the License.
--%>
-<%@ page import="org.apache.hadoop.hive.hwi.*" %>
-<%@ page errorPage="error_page.jsp" %>
+<%@ page import="org.apache.hadoop.hive.hwi.*"%>
+<%@ page errorPage="error_page.jsp"%>
<% HWIAuth auth = (HWIAuth) session.getAttribute("auth"); %>
<% if (auth==null) { %>
-
+
<% } %>
<% HWISessionManager hs = (HWISessionManager) application.getAttribute("hs"); %>
<% String sessionName=request.getParameter("sessionName"); %>
@@ -30,26 +30,36 @@
message="Query will be killed";
}
%>
+
-
- Hive Web Interface
-
-
-
-
- |
- |
-
- Hive Web Interface
- <% if (message!=null){ %><%=message%><% } %>
-
-
- |
-
-
-
+
+Hive Web Interface
+
+
+
+
+
+
+
+
+
+
+ <% if (message!=null){ %><%=message%>
+ <% } %>
+
+
+
+
+
+
+
+
+
Index: hwi/web/error_page.jsp
===================================================================
--- hwi/web/error_page.jsp (revision 1311670)
+++ hwi/web/error_page.jsp (working copy)
@@ -14,31 +14,41 @@
See the License for the specific language governing permissions and
limitations under the License.
--%>
-<%@ page import="org.apache.hadoop.hive.hwi.*" %>
-<%@page isErrorPage="true" %>
+<%@ page import="org.apache.hadoop.hive.hwi.*"%>
+<%@page isErrorPage="true"%>
+
-
- Hive Web Interface
-
-
-
-
- |
- |
-
- Hive Web Interface
-
- <%= exception.getClass().getName() %>
-
- <%=exception.getMessage() %>
-
+
+Hive Web Interface
+
+
+
+
+
+
+
+
+
+
+
+ Hive Web Interface
+
+ <%= exception.getClass().getName() %>
+ <%=exception.getMessage() %>
+
+
+ Stacktrace
+
<% for (StackTraceElement e: exception.getStackTrace() ) { %>
File: <%= e.getFileName() %> Line:<%= e.getLineNumber() %> method: <%= e.getMethodName() %>
- class: <%=e.getClassName() %>
+ class: <%=e.getClassName() %>
<% } %>
-
- |
-
-
-
+
+
+
+
+
+
+
+
Index: hwi/web/view_file.jsp
===================================================================
--- hwi/web/view_file.jsp (revision 1311670)
+++ hwi/web/view_file.jsp (working copy)
@@ -33,20 +33,24 @@
bsize = Integer.parseInt( request.getParameter("bsize") );
}
%>
-
+
-
- Hive Web Interface
-
-
-
-
- |
- |
-
- Hive Web Interface
- <%=sess.getResultFile() %>
- |
-
-
-
+ %>
+
+ <% long numberOfBlocks = f.length()/ (long)bsize;%>
+ This file contains
+ <%=numberOfBlocks%>
+ of
+ <%=bsize%>
+ blocks. Next
+ Block
+
+
+
+
Index: hwi/web/diagnostics.jsp
===================================================================
--- hwi/web/diagnostics.jsp (revision 1311670)
+++ hwi/web/diagnostics.jsp (working copy)
@@ -15,57 +15,70 @@
limitations under the License.
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
-<%@page errorPage="error_page.jsp" %>
-<%@page import="java.util.*" %>
+<%@page errorPage="error_page.jsp"%>
+<%@page import="java.util.*"%>
-
-
- Diagnostics
-
-
-
-
- |
-
-
- System.getProperties()
-
-
- | Name |
- Value |
-
- <%
+
+
+Diagnostics
+
+
+
+
+
+
+
+
+
+
+
+
+ System.getProperties()
+
+
+
+ | Name |
+ Value |
+
+
+
+ <%
Properties p = System.getProperties();
for (Object o : p.keySet()) {%>
-
- | <%=o%> |
- <%=p.getProperty(((String) o))%> |
-
- <% }%>
-
-
- System.getenv()
-
-
- | Name |
- Value |
-
- <%
+
+ | <%=o%> |
+ <%=p.getProperty(((String) o))%> |
+
+ <% }%>
+
+
+
+ System.getenv()
+
+
+
+ | Name |
+ Value |
+
+
+
+ <%
Map env = System.getenv();
for (String key : env.keySet() ) {%>
-
- | <%=key%> |
- <%=env.get(key)%> |
-
- <% }%>
-
-
-
-
-
-
-
-
\ No newline at end of file
+ |
+ | <%=key%> |
+ <%=env.get(key)%> |
+
+ <% }%>
+
+
+
+
+
+
+
+
+