[ 
https://issues.apache.org/jira/browse/AMBARI-25797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

YUBI LEE updated AMBARI-25797:
------------------------------
    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.
{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}
!image-2022-12-03-20-59-31-171.png|width=541,height=185!

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.

  was:
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.


> 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
>            Priority: Major
>         Attachments: image-2022-12-03-20-59-31-171.png
>
>
> 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}
> !image-2022-12-03-20-59-31-171.png|width=541,height=185!
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to