wenwj0 commented on PR #3681: URL: https://github.com/apache/ambari/pull/3681#issuecomment-1683626813
> Due to above changes stderr:/var/lib/[ambari-agent](https://issues.apache.org/jira/browse/AMBARI-agent)/data/errors.txt is filled with below logs `WARNING:root:An exception occurred when calling the hasattr method...... WARNING:root:An exception occurred when calling the hasattr method...... WARNING:root:An exception occurred when calling the hasattr method......` We have fixed this issue now and you guys can try to test it. @bhavikpatel9977 @himanshumaurya09876 This problem occurs when we try `hasattr(xxx)` or `getattr(xxx)`, if we want to set a parameter which is not in configuration dictionary, python3 will throw an exception while python2 will not throw exception. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
