You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by DoingDone9 <gi...@git.apache.org> on 2015/11/07 09:18:40 UTC

[GitHub] spark pull request: [SPARK-8552] [THRIFTSERVER] Using incorrect da...

Github user DoingDone9 commented on the pull request:

    https://github.com/apache/spark/pull/7118#issuecomment-154654481
  
    @navis 
    when i use spark-sql and run sql like that 
    "
    add jar /home/udf-0.0.1-SNAPSHOT.jar;
    create temporary function arr_greater_equal as 'com.xx.yy.dac.hive.udf.UDFArrayGreaterEqual';  
    "
    I got a error 
    15/11/07 16:01:15 ERROR CliDriver: org.apache.spark.sql.execution.QueryExecutionException: FAILED: SemanticException [Error 10072]: Database does not exist: default
            at org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$runHive$1.apply(ClientWrapper.scala:349)
            at org.apache.spark.sql.hive.client.ClientWrapper$$anonfun$runHive$1.apply(ClientWrapper.scala:326)
            at org.apache.spark.sql.hive.client.SharedWrapper.withHiveState(ClientWrapper.scala:469)
            at org.apache.spark.sql.hive.HiveContext$$anon$2.withHiveState(HiveContext.scala:194)
            at org.apache.spark.sql.hive.client.ClientWrapper.withHiveState(ClientWrapper.scala:138)
            at org.apache.spark.sql.hive.client.ClientWrapper.runHive(ClientWrapper.scala:326)
            at org.apache.spark.sql.hive.client.ClientWrapper.runSqlHive(ClientWrapper.scala:316)
            at org.apache.spark.sql.hive.HiveContext.runSqlHive(HiveContext.scala:542)
            at org.apache.spark.sql.hive.execution.HiveNativeCommand.run(HiveNativeCommand.scala:33)
            at org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult$lzycompute(commands.scala:57)



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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