diff --git a/ambari-agent/src/main/python/ambari_agent/HostInfo.py b/ambari-agent/src/main/python/ambari_agent/HostInfo.py index 45c75f23eee..c981c9036e4 100644 --- a/ambari-agent/src/main/python/ambari_agent/HostInfo.py +++ b/ambari-agent/src/main/python/ambari_agent/HostInfo.py @@ -461,8 +461,7 @@ def getServiceStatus(self, service_name): stdout=subprocess.PIPE, stderr=subprocess.PIPE, timeout=5, - quiet=True, - universal_newlines=True, + quiet=True ) return out, err, code except Exception as ex: