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

Edward Capriolo commented on HIVE-30:
-------------------------------------

Also I have ran into something that I would like to discuss. The ExecDriver 
produces this output via printInfo()

{noformat}
Starting Job = job_200812241109_0004, Tracking URL = 
http://hadoop1:50030/jobdetails.jsp?jobid=job_200812241109_0004
Kill Command = /opt/hadoop/hadoop-0.19.0/bin/../bin/hadoop job  
-Dmapred.job.tracker=hadoop1:54311 -kill job_200812241109_0004
{noformat}

I am trying to mimick this behaivor.

{noformat}
public String getJobTrackerURI(){
                StringBuffer sb = new StringBuffer();
                sb.append("http://";);
                sb.append( conf.get("mapred.job.tracker.http.address") );
                sb.append("/jobdetails.jsp?jobid=");
                sb.append(this.conf.getVar(HiveConf.ConfVars.HADOOPJOBNAME));
                return sb.toString();
        }
{noformat}

This is not correct as HADOOPJOBNAME would actually be the HQL query. 

With the SessionState you can not reference SessionState->ExecDriver->JobConf. 
The only way I can determine this information is by not letting the session be 
silent and reading/parsing raw data. My usage of SessionState is a bit 
different then the current CLI session state. A fix would be to have the exec 
driver set a read only HashMap in the Session State. 



> Hive web interface
> ------------------
>
>                 Key: HIVE-30
>                 URL: https://issues.apache.org/jira/browse/HIVE-30
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Web UI
>            Reporter: Jeff Hammerbacher
>            Assignee: Edward Capriolo
>            Priority: Minor
>         Attachments: HIVE-30-A.patch, HIVE-30.patch, HIVE-30.patch
>
>
> Hive needs a web interface. The initial checkin should have:
> * simple schema browsing
> * query submission
> * query history (similar to MySQL's SHOW PROCESSLIST)
> A suggested feature: the ability to have a query notify the user when it's 
> completed.
> Edward Capriolo has expressed some interest in driving this process.

-- 
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