You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Kantor (JIRA)" <ji...@apache.org> on 2016/04/18 16:07:25 UTC
[jira] [Resolved] (ATLAS-684) atlas_stop.py fails to stop Atlas on
Windows
[ https://issues.apache.org/jira/browse/ATLAS-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Kantor resolved ATLAS-684.
--------------------------------
Resolution: Duplicate
I am addressing the atlas_stop issue as part of my changes for ATLAS-659.
> atlas_stop.py fails to stop Atlas on Windows
> --------------------------------------------
>
> Key: ATLAS-684
> URL: https://issues.apache.org/jira/browse/ATLAS-684
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.7-incubating
> Environment: Windows7, Python 2.7.10
> Reporter: venkata madugundu
> Labels: shutdown
> Fix For: 0.7-incubating
>
>
> The latest atlas_stop.py fails with following error.
> -----------------------------
> File "C:\atlas-repo2\bin\atlas_config.py", line 326, in exist_pid
> command='tasklist /fi "pid eq '+ pid + '"'
> TypeError: cannot concatenate 'str' and 'int' objects
> -----------------------------
> Doing a quick fix to cast 'pid' to a string like 'str(pid)' fixes it.
> One more error shows up after that.
> -----------------------------
> File "C:\atlas-repo2\bin\atlas_config.py", line 332, in exist_pid
> if pid in line:
> TypeError: 'in <string>' requires string as left operand, not int
> -----------------------------
> A similar fix. Replace 'pid' with 'str(pid)' seems to work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)