Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36622

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 3.0.1, 3.1.2, 3.2.0
    • None
    • Deploy, Security, Spark Core
    • None

    Description

      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 . 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            pralabhkumar Pralabh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: