This is an automated email from the ASF dual-hosted git repository.

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 32ad6c4fa2 AMBARI-26271: Invalid parameter was provided when using 
shell.call in HostInfo.py #3919
32ad6c4fa2 is described below

commit 32ad6c4fa2e12150c3ae128a392bfd5a127ab9c8
Author: Peng Lu <[email protected]>
AuthorDate: Fri Jan 3 13:57:16 2025 +0800

    AMBARI-26271: Invalid parameter was provided when using shell.call in 
HostInfo.py #3919
---
 ambari-agent/src/main/python/ambari_agent/HostInfo.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ambari-agent/src/main/python/ambari_agent/HostInfo.py 
b/ambari-agent/src/main/python/ambari_agent/HostInfo.py
index 45c75f23ee..c981c9036e 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 @@ class HostInfoLinux(HostInfo):
         stdout=subprocess.PIPE,
         stderr=subprocess.PIPE,
         timeout=5,
-        quiet=True,
-        universal_newlines=True,
+        quiet=True
       )
       return out, err, code
     except Exception as ex:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to