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

Sergey Shelukhin commented on HIVE-10884:
-----------------------------------------

Ok, for me tests get stuck after this:
{noformat}
2015-06-01 14:56:19,500 ERROR [HiveServer2-Handler-Pool: Thread-45]: 
server.NIOServerCnxnFactory (NIOServerCnxnFactory.java:uncaughtException(44)) - 
Thread Thread[HiveServer2-Handler-Pool: Thread-45,5,main] died
java.lang.NoClassDefFoundError: 
org/apache/hive/service/cli/thrift/TCLIService$CloseSession_result$CloseSession_resultStandardScheme
        at 
org.apache.hive.service.cli.thrift.TCLIService$CloseSession_result$CloseSession_resultStandardSchemeFactory.getScheme(TCLIService.java:2988)
        at 
org.apache.hive.service.cli.thrift.TCLIService$CloseSession_result$CloseSession_resultStandardSchemeFactory.getScheme(TCLIService.java:2986)
        at 
org.apache.hive.service.cli.thrift.TCLIService$CloseSession_result.write(TCLIService.java:2943)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:53)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at 
org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

I have tried cleaning maven repo, regenerating thrift (no significant changes).
In debugger, the factory on the stack is executing from correct jar. If I unjar 
that, I can also find the offending class:
{noformat}
$ jar -xfv 
/Users/sergey/.m2/repository/org/apache/hive/hive-service/1.3.0-SNAPSHOT/hive-service-1.3.0-SNAPSHOT.jar
 | grep CloseSession.*resultStandardScheme
Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
 inflated: 
org/apache/hive/service/cli/thrift/TCLIService$CloseSession_result$CloseSession_resultStandardScheme.class
 inflated: 
org/apache/hive/service/cli/thrift/TCLIService$CloseSession_result$CloseSession_resultStandardSchemeFactory.class
{noformat}

However, when I try to load this class from Factory class classloader in 
debugger, I also get class not found (factory class classloader can find the 
factory class itself).

Not really sure how this can happen.

[~cwsteinbach] do you have any background on this?
[~xuefuz] I am assuming you guys will need to enable beeline tests as part of 
beeline-by-default work... have you run into this issue?

> Enable some beeline tests and turn on HIVE-4239 by default
> ----------------------------------------------------------
>
>                 Key: HIVE-10884
>                 URL: https://issues.apache.org/jira/browse/HIVE-10884
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-10884.patch
>
>
> See comments in HIVE-4239.
> Beeline tests with parallelism need to be enabled to turn compilation 
> parallelism on by default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to