You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alex Liu (JIRA)" <ji...@apache.org> on 2015/03/25 23:20:53 UTC

[jira] [Created] (SPARK-6540) Spark SQL thrift server fails to pass settings to following query in the same session

Alex Liu created SPARK-6540:
-------------------------------

             Summary: Spark SQL thrift server fails to pass settings to following query in the same session
                 Key: SPARK-6540
                 URL: https://issues.apache.org/jira/browse/SPARK-6540
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.2.1
            Reporter: Alex Liu


e.g.
By using beeline
> set cassandra.username=user;
> set cassandra.password = pass;
> show databases;

The "show databases" query fails due to missing cassandra.username and cassandra.password configuration in hiveconf when create the metastore client.

Same test passes in HiveServer2.

This document mentions how HiveServer2 maps the connection to session, but Spark Hive thrift server fails to delivery the same function though it wraps HiveServer2 internally.




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

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