Robert Levas created AMBARI-22998:

             Summary: Wrong user us used to execute the Spark/Livy Server 
service check
                 Key: AMBARI-22998
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.6.0
            Reporter: Robert Levas
            Assignee: Robert Levas
             Fix For: 2.6.2, 2.7.0

 livy_kinit_cmd = format("{kinit_path_local} -kt {smoke_user_keytab} 
{smokeuser_principal}; ")
 Execute(livy_kinit_cmd, user=params.livy_user)
Notice the Kerberos identity is for the smoke user, but the exec is for the 
livy user. This will replace the livy user's interactive Kerberos ticket cache.

This should be 
smoke_user_kinit_cmd = format("{kinit_path_local} -kt {smoke_user_keytab}
 {smokeuser_principal}; ")
Execute(smoke_user_kinit_cmd, user=params.smoke_user)
Where {{smoke_user}} is
smoke_user =  config['configurations']['cluster-env']['smokeuser']

This message was sent by Atlassian JIRA

Reply via email to