[ https://issues.apache.org/jira/browse/HIVE-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678539#action_12678539 ]
Edward Capriolo commented on HIVE-278: -------------------------------------- I understand what you have described. As far as I know page requests in the servlet engine can possibly reuse a thread. What the code is doing is initializing a session in the HWISessionManager thread but then starting the query from a thread inside HWISessionItem. Currently there is a CLISessionState as a private member of HWISessionItem. I think the complication of my design is that the HWISessionItem class should extend SessionState and implement Runnable. Hopefully this can be done without modified the HWISessionManager . > Add HiveHistory to Hive web interface > ------------------------------------- > > Key: HIVE-278 > URL: https://issues.apache.org/jira/browse/HIVE-278 > Project: Hadoop Hive > Issue Type: New Feature > Components: Logging, Web UI > Affects Versions: 0.3.0 > Reporter: Edward Capriolo > Assignee: Edward Capriolo > Priority: Minor > Fix For: 0.3.0 > > Attachments: session_logging.diff > > > In order for HIVE-176 to be utilized by the Hive web interface a few changes > need to be made. > * HWISessionItem needs a method with an argument signature > {noformat} > public HiveHistoryViewer getHistoryViewer() throws HWIException > {noformat} > * session_manage.jsp needs an addition > {noformat} > Hive History: <a > href=/hwi/session_history.jsp?sessionName=<%=sessionName%>"><%=sessionName%></a><br> > {noformat} > * session_history.jsp will have to be created to use the ql.history api -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.