You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/24 15:14:17 UTC
[jira] [Commented] (SPARK-7846) Use different way to pass
spark.yarn.keytab and spark.yarn.principal in different modes
[ https://issues.apache.org/jira/browse/SPARK-7846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557732#comment-14557732 ]
Apache Spark commented on SPARK-7846:
-------------------------------------
User 'WangTaoTheTonic' has created a pull request for this issue:
https://github.com/apache/spark/pull/6051
> Use different way to pass spark.yarn.keytab and spark.yarn.principal in different modes
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-7846
> URL: https://issues.apache.org/jira/browse/SPARK-7846
> Project: Spark
> Issue Type: Bug
> Components: YARN
> Reporter: Tao Wang
>
> --principal and --keytabl options are passed to client but when we started thrift server or spark-shell these two are also passed into the Main class (org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 and org.apache.spark.repl.Main).
> In these two main class, arguments passed in will be processed with some 3rd libraries, which will lead to some error: "Invalid option: --principal" or "Unrecgnised option: --principal".
> We should pass these command args in different forms, say system properties.
--
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