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

Yuming Wang commented on SPARK-25061:
-------------------------------------

Cloud you try to set it by:
{code:sh}
--conf 
"spark.hadoop.hive.server2.authentication.kerberos.principal=<client_principal>"
{code}


>  Spark SQL Thrift Server fails to not pick up hiveconf passing parameter
> ------------------------------------------------------------------------
>
>                 Key: SPARK-25061
>                 URL: https://issues.apache.org/jira/browse/SPARK-25061
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Zineng Yuan
>            Priority: Critical
>
> Spark thrift server should use passing parameter value and overwrites the 
> same conf from hive-site.xml. For example,  the server should overwrite what 
> exists in hive-site.xml.
>  ./sbin/start-thriftserver.sh --master yarn-client ...
> --hiveconf 
> "hive.server2.authentication.kerberos.principal=<client_principal>" ...
> <property>
> <name>hive.server2.authentication.kerberos.principal</name>
> <value>hive/_HOST@<server_domain></value>
> </property>
> However, the server takes what in hive-site.xml.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to