Tao Wang created SPARK-7846:
-------------------------------

             Summary: 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to