[ 
https://issues.apache.org/jira/browse/HIVE-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672744#action_12672744
 ] 

Ashish Thusoo commented on HIVE-278:
------------------------------------

Looked at this with Suresh. We feel that the Session object is being created in 
the SessionManager where as the Driver is created in the SessionItem thread. As 
a result the Driver looks at it thread specific state and does not find a 
Session there and therefore does not put anything in the log. Suresh pointed 
this out and can chime in to clarify this.

But basically we would have to create the session object and the driver in the 
same thread. Maybe moving the Driver creation to the SessionManager thread will 
fix this.


> 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.2.0
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>            Priority: Minor
>             Fix For: 0.2.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.

Reply via email to