gengliangwang commented on issue #26788: [SPARK-30159][SQL][TESTS] Fix the 
method calls of `QueryTest.checkAnswer`
URL: https://github.com/apache/spark/pull/26788#issuecomment-562783048
 
 
   @wangyum I ran the following command in my local laptop
   ```
   ./build/sbt -Phadoop-2.7 -Phive-2.3 -Pyarn -Phive -Pmesos -Pkinesis-asl 
-Pspark-ganglia-lgpl -Pkubernetes -Phadoop-cloud -Phive-thriftserver unidoc
   ```
   and got errors:
   ```
   [error] 
/Users/gengliang.wang/Downloads/spark/sql/hive-thriftserver/v2.3/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java:248:
  error: incompatible types: org.apache.hive.service.rpc.thrift.TSessionHandle 
cannot be converted to org.apache.hive.service.cli.thrift.TSessionHandle
   [error]       resp.setSessionHandle(sessionHandle.toTSessionHandle());
   [error]                                                           ^
   [error] 
/Users/gengliang.wang/Downloads/spark/sql/hive-thriftserver/v2.3/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java:259:
  error: incompatible types: org.apache.hive.service.rpc.thrift.TStatus cannot 
be converted to org.apache.hive.service.cli.thrift.TStatus
   [error]       resp.setStatus(HiveSQLException.toTStatus(e));
   [error]                                                ^
   [error] 
/Users/gengliang.wang/Downloads/spark/sql/hive-thriftserver/v2.3/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java:346:
  error: method getMinVersion in class ThriftCLIService cannot be applied to 
given types;
   [error]     TProtocolVersion protocol = 
getMinVersion(CLIService.SERVER_VERSION,
   [error]   
   ```
   
   Any suggestions? Thank you in advance!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to