You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "pralabhkumar (Jira)" <ji...@apache.org> on 2021/08/31 09:20:00 UTC

[jira] [Created] (SPARK-36622) spark.history.kerberos.principal doesn't take value _HOST

pralabhkumar created SPARK-36622:
------------------------------------

             Summary: spark.history.kerberos.principal doesn't take value _HOST
                 Key: SPARK-36622
                 URL: https://issues.apache.org/jira/browse/SPARK-36622
             Project: Spark
          Issue Type: Improvement
          Components: Deploy, Security, Spark Core
    Affects Versions: 3.1.2, 3.0.1
            Reporter: pralabhkumar


spark.history.kerberos.principal doesn't understand value _HOST. 

It says failure to login for principal : spark/_HOST@realm . 

It will be helpful to take _HOST value via config file and change it with current hostname(similar to what Hive does) . This will also help to run SHS on multiple machines without hardcoding principal hostname.  .spark.history.kerberos.principal

 

It require minor change in HistoryServer.scala in initSecurity  method . 

 

Please let me know , if this request make sense , I'll create the PR . 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org