Skip to content

Commit

Permalink
[Improve] Fix a typo of YarnApplicationClient.
Browse files Browse the repository at this point in the history
  • Loading branch information
joyCurry30 committed Jun 24, 2024
1 parent 65f20f5 commit d21d726
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ object YarnApplicationClient extends YarnClientTrait {
flinkConfig: Configuration): SubmitResponse = {
var proxyUserUgi: UserGroupInformation = UserGroupInformation.getCurrentUser
val currentUser = UserGroupInformation.getCurrentUser
val eableProxyState =
val enableProxyState =
!HadoopUtils.isKerberosSecurityEnabled(currentUser) && StringUtils.isNotEmpty(
submitRequest.hadoopUser)
if (eableProxyState) {
if (enableProxyState) {
proxyUserUgi = UserGroupInformation.createProxyUser(
submitRequest.hadoopUser,
currentUser
Expand Down

0 comments on commit d21d726

Please sign in to comment.