[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to