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

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

    [ https://issues.apache.org/jira/browse/SPARK-36622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408341#comment-17408341 ] 

Thejdeep Gudivada commented on SPARK-36622:
-------------------------------------------

Is it possible to just use bash eval of `hostname` for this use-case ?

> 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.0.1, 3.1.2
>            Reporter: pralabhkumar
>            Priority: Minor
>
> 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