You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Charming Wu (Jira)" <ji...@apache.org> on 2023/02/23 12:00:00 UTC

[jira] [Created] (AMBARI-25862) modify module Subprocess32 to module subprocess

Charming Wu created AMBARI-25862:
------------------------------------

             Summary: modify module Subprocess32 to module subprocess
                 Key: AMBARI-25862
                 URL: https://issues.apache.org/jira/browse/AMBARI-25862
             Project: Ambari
          Issue Type: Sub-task
          Components: ambari-agent, ambari-client, ambari-server
    Affects Versions: 2.7.5
            Reporter: Charming Wu


In Ambari 2.7.5, it use a module call "Subprocess32".

When I try to adapt Ambari from python2 to python3, I found that subprocess is a build-in module in python3. And in my opinion Ambari 2.7.5 import Subprocess32 in order to using the same function as python3's module subprocess. 

So I would like to change all "import Subprocess32" to "import subprocess" and check whether ambari can still work. 

The problem is that I am not sure Subprocess32 defined in Ambari 2.7.5 is actuually the same as python3.subprocess, Any suggestions? Welcome to discuss here and contribute to python3 adaption。



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org