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

caijialiang updated AMBARI-26094:
---------------------------------
    Description: In a production environment, a modification to the operating 
system's security settings caused the run function in Ambari shell scripts to 
fail when switching users. This failure results in all components being unable 
to execute any operational commands (e.g., start, restart), and the lack of 
exception logging makes it difficult to diagnose the issue. This PR adds 
detailed exception logging for failed user switch operations to aid in 
troubleshooting and resolution.

> Enhance error logging for run function in Ambari shell script
> -------------------------------------------------------------
>
>                 Key: AMBARI-26094
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26094
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: caijialiang
>            Priority: Major
>
> In a production environment, a modification to the operating system's 
> security settings caused the run function in Ambari shell scripts to fail 
> when switching users. This failure results in all components being unable to 
> execute any operational commands (e.g., start, restart), and the lack of 
> exception logging makes it difficult to diagnose the issue. This PR adds 
> detailed exception logging for failed user switch operations to aid in 
> troubleshooting and resolution.



--
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