CloudBreak 2.7 built HDF 3.1 has error: 'kerberos-provider' could not be found.


Error

CloudBreak 2.7 built HDF 3.1 has error: 'kerberos-provider' could not be found.

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginIdentityProvider': FactoryBean threw exception on object creation; nested exception is java.lang.Exception: The specified login identity provider 'kerberos-provider' could not be found.

Solution

The reason is HDF 3.1's blueprint has problem:

nifi.security.user.login.identity.provider= is set to kerberos-provider but that provider doesn't exist in login-identity-providers.xml, or is commented out