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

Edward Capriolo commented on HIVE-716:
--------------------------------------

{noformat}
  [junit] Hive history 
file=/home/ecapriolo/hive-18.3-dont-touch/hive-trunk/hwi/../build/ql/tmp/hive_job_log_ecapriolo_200909220835_200968210.txt
    [junit] Hive history 
file=/home/ecapriolo/hive-18.3-dont-touch/hive-trunk/hwi/../build/ql/tmp/hive_job_log_ecapriolo_200909220835_1376971143.txt
    [junit] Hive history 
file=/home/ecapriolo/hive-18.3-dont-touch/hive-trunk/hwi/../build/ql/tmp/hive_job_log_ecapriolo_200909220835_989905403.txt
    [junit] Pre Exec Hook Class not 
found:org.apache.hadoop.hive.ql.hooks.PreExecutePrinter
    [junit] FAILED: Unknown exception : 
org.apache.hadoop.hive.ql.hooks.PreExecutePrinter
    [junit] Pre Exec Hook Class not 
found:org.apache.hadoop.hive.ql.hooks.PreExecutePrinter
    [junit] FAILED: Unknown exception : 
org.apache.hadoop.hive.ql.hooks.PreExecutePrinter
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.163 sec
    [junit] Test org.apache.hadoop.hive.hwi.TestHWISessionManager FAILED
{noformat}
{noformat}
[ecapri...@laptop1 hwi]$ svn update
At revision 817701.
{noformat}

I have a slightly different classpath and testclasspath to account for the 
jetty jars in hadoop-core/lib 

Any ideas about this?

> Web Interface wait/notify, interface changes
> --------------------------------------------
>
>                 Key: HIVE-716
>                 URL: https://issues.apache.org/jira/browse/HIVE-716
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Web UI
>         Environment: All
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>         Attachments: hive-716-2.diff, hive-716-3.diff, hive-716-4.diff, 
> hive-716-5.diff, hive-716.diff, hwi_query_box.png
>
>
> In TestHWISessionItem 
> Asserts are backwards
> {noformat}
> assertEquals(  searchItem.getQueryRet(), 0);
> {noformat}
> Should be
> {noformat}
> assertEquals( zero , searchItem.getQueryRet());
> {noformat}
> Wait/notify semantics can be added. This is helpful for end user, and cleaner 
> in the test case.
> {noformat}
> while (user1_item2.getStatus() != 
> HWISessionItem.WebSessionItemStatus.QUERY_COMPLETE) {
>   Thread.sleep(1);
> }
> {noformat}
> {noformat}
> synchronized (user1_item2.runnable) {
>   while (user1_item2.getStatus() != 
> HWISessionItem.WebSessionItemStatus.QUERY_COMPLETE) {
>      user1_item2.runnable.wait();
>   }
> }
> {noformat}
> The text box in the web interface should accept multiple queries separated by 
> ';' like the cli does. This will add more usability. No need for separate set 
> processor pages. 
> setQuery(String) is replaced by setQueries(List<String>)

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