You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/07 07:05:14 UTC

[GitHub] [spark] wangyum commented on issue #26788: [SPARK-30159][SQL][TESTS] Fix the method calls of `QueryTest.checkAnswer`

wangyum commented on issue #26788: [SPARK-30159][SQL][TESTS] Fix the method calls of `QueryTest.checkAnswer`
URL: https://github.com/apache/spark/pull/26788#issuecomment-562822567
 
 
   > @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!
   
   Cloud you try:
   ```shell
   ./build/sbt clean -Phadoop-2.7 -Phive-2.3 -Pyarn -Phive -Pmesos -Pkinesis-asl -Pspark-ganglia-lgpl -Pkubernetes -Phadoop-cloud -Phive-thriftserver unidoc
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org