Github user dbtsai commented on the issue:
https://github.com/apache/spark/pull/21756
From what I talked to @shrutig offline, the use-case her team has is when
`UserGroupInformation.getCurrentUser.getAuthenticationMethod ==
AuthenticationMethod.KERBEROS`, they want to set the remote ugi with
`AuthMethod.KERBEROS` authentication method as the default remote ugi is using
`AuthMethod.SIMPLE`.
I'll suggest to add
```scala
ugi.setAuthenticationMethod(
UserGroupInformation.getCurrentUser.getAuthenticationMethod.getAuthMethod)
```
into `def createSparkUser(): UserGroupInformation` instead of customizing
`SparkHadoopUtil`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]