You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zineng Yuan (JIRA)" <ji...@apache.org> on 2018/08/08 21:31:00 UTC
[jira] [Updated] (SPARK-25061) Spark SQL Thrift Server fails to
not pick up hiveconf passing parameter
[ https://issues.apache.org/jira/browse/SPARK-25061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zineng Yuan updated SPARK-25061:
--------------------------------
Description:
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.
was:
Spark thrift server should pick up passing parameter value and overwrites the conf value rom 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.
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org