You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "YUBI LEE (Jira)" <ji...@apache.org> on 2022/12/03 11:51:00 UTC

[jira] [Created] (AMBARI-25797) Fail to add a component on the same machine with ambari-server of a new service with no kerberos identity when kerberos enabled

YUBI LEE created AMBARI-25797:
---------------------------------

             Summary: Fail to add a component on the same machine with ambari-server of a new service with no kerberos identity when kerberos enabled
                 Key: AMBARI-25797
                 URL: https://issues.apache.org/jira/browse/AMBARI-25797
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.6
            Reporter: YUBI LEE


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.
{code:java}
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.{code}
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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org