NPE when RM is recovering with Yarn JWT enabled and app is running

Description

Yarn is configured with JWT support disabled and there is an application running. We enable JWT on Yarn and restart RM. When RM recovers, it will try to register with the RMAppSecurityManager to renew JWT for the running application.

Since JWT support was disabled, there is no JWT associated with the application and it will cause a NullPointerException.

Assignee

Antonios Kouzoupis

Reporter

Antonios Kouzoupis

Labels

None

Fix versions

Affects versions

Priority

Medium
Configure