JiaLiangC commented on code in PR #3744: URL: https://github.com/apache/ambari/pull/3744#discussion_r1693790227
########## ambari-server/src/main/resources/common-services/AMBARI_LOGSEARCH/3.0.0/package/alerts/alert_logfeeder.py: ########## @@ -0,0 +1,85 @@ +#!/usr/bin/env python Review Comment: https://github.com/apache/ambari/blob/e8104f0a11a01ba02951500eb19cb9b03a8bfa18/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HIVE/package/scripts/hcat.py#L1 As the Ambari trunk is currently using Python 3, you can refer to these services and uniformly set the Python interpreter to Python 3. ########## ambari-server/src/main/resources/common-services/AMBARI_LOGSEARCH/3.0.0/package/scripts/logfeeder.py: ########## @@ -0,0 +1,70 @@ +""" Review Comment: All Python files must explicitly specify the Python 3 interpreter. -- 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: dev-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org