[ https://issues.apache.org/jira/browse/AMBARI-23469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
JaySenSharma updated AMBARI-23469: ---------------------------------- Description: - While running HostCleanup.pu on Ambari 2.7.0 then it fails with the following error: {code} # /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py --silent --verbose Traceback (most recent call last): File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 710, in <module> main() File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 701, in main h.do_cleanup(propMap) File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 144, in do_cleanup procList = proc_map.get(PROCESS_KEY) AttributeError: 'NoneType' object has no attribute 'get' {code} - Used Python version is: {code} # python --version Python 2.7.5 {code} was: While running HostCleanup.pu on Ambari 2.7.0 then it fails with the following error: {code} # /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py --silent --verbose Traceback (most recent call last): File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 710, in <module> main() File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 701, in main h.do_cleanup(propMap) File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 144, in do_cleanup procList = proc_map.get(PROCESS_KEY) AttributeError: 'NoneType' object has no attribute 'get' {code} > HostCleanup.py script is failing with AttributeError: 'NoneType' object has > no attribute 'get' > ---------------------------------------------------------------------------------------------- > > Key: AMBARI-23469 > URL: https://issues.apache.org/jira/browse/AMBARI-23469 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: trunk, 2.7.0 > Reporter: JaySenSharma > Priority: Major > > - While running HostCleanup.pu on Ambari 2.7.0 then it fails with the > following error: > {code} > # /usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py --silent --verbose > Traceback (most recent call last): > File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 710, in > <module> > main() > File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 701, in > main > h.do_cleanup(propMap) > File "/usr/lib/ambari-agent/lib/ambari_agent/HostCleanup.py", line 144, in > do_cleanup > procList = proc_map.get(PROCESS_KEY) > AttributeError: 'NoneType' object has no attribute 'get' > {code} > - Used Python version is: > {code} > # python --version > Python 2.7.5 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)