You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bo Meng (JIRA)" <ji...@apache.org> on 2017/03/21 22:32:41 UTC
[jira] [Comment Edited] (SPARK-20004) Spark thrift server ovewrites
spark.app.name
[ https://issues.apache.org/jira/browse/SPARK-20004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935472#comment-15935472 ]
Bo Meng edited comment on SPARK-20004 at 3/21/17 10:32 PM:
-----------------------------------------------------------
I think you can still use --name for your app name. for example, /spark/sbin/start-thriftserver.sh --name="My server 1"
was (Author: bomeng):
I think you can still use --name for your app name. for example, /spark/sbin/start-thriftserver.sh --conf spark.yarn.queue=spark.client.$host --conf spark.app.name="ODBC server $host"
> Spark thrift server ovewrites spark.app.name
> --------------------------------------------
>
> Key: SPARK-20004
> URL: https://issues.apache.org/jira/browse/SPARK-20004
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: Egor Pahomov
> Priority: Minor
>
> {code}
> export SPARK_YARN_APP_NAME="ODBC server $host"
> /spark/sbin/start-thriftserver.sh --conf spark.yarn.queue=spark.client.$host --conf spark.app.name="ODBC server $host"
> {code}
> And spark-defaults.conf contains:
> {code}
> spark.app.name "ODBC server spark01"
> {code}
> Still name in yarn is "Thrift JDBC/ODBC Server"
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org