Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.6
-
None
-
None
Description
When kerberos enabled and an user tries to add a component of a new service with no kerberos identity in the same machine with ambari-server, it fails because there is no temporary data directory.
22-12-03 08:09:24,572 ERROR [process-identity-task-9055-thread-0] CreateKeytabFilesServerAction:175 - The data directory has not been set. Generated keytab files can not be stored.
I guess it is a side effect of AMBARI-22138.
AMBARI-22138 adds ambari-server's kerberos identity even though the service's "Service Component Hosts"(`schToProcess`) is empty.
I'll make a PR.
It fixes this problem by just creating tempory directory.
It will be deleted when whole stage finishes.
Attachments
Attachments
Issue Links
- links to