[
https://issues.apache.org/jira/browse/ATLAS-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690070#comment-16690070
]
ASF subversion and git services commented on ATLAS-2971:
--------------------------------------------------------
Commit 9d6ca7aae861e474049960867ecdc4520a7daf0d in atlas's branch
refs/heads/branch-1.0 from [~Sandeep Nemuri]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=9d6ca7a ]
ATLAS-2971: Atlas fails to start if there is a empty pid file
Signed-off-by: Sarath Subramanian <[email protected]>
(cherry picked from commit 945de013f5466ffcf71d16c6ec1772fdee83e2f6)
> Atlas fails to start if there is a empty pid file
> -------------------------------------------------
>
> Key: ATLAS-2971
> URL: https://issues.apache.org/jira/browse/ATLAS-2971
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 1.1.0
> Reporter: Sandeep Nemuri
> Priority: Major
> Attachments: ATLAS-2971.001.patch
>
>
> Atlas fails to start with below error if the pid file is empty.
>
> {code:java}
> ~]$ touch /var/run/atlas/atlas.pid
> ~]$ source
> /usr/hdp/current/atlas-server/conf/atlas-env.sh;/usr/hdp/current/atlas-server/bin/atlas_start.py
>
> Exception: invalid literal for int() with base 10: ''
> Traceback (most recent call last):
> File "/usr/hdp/current/atlas-server/bin/atlas_start.py", line 163, in
> <module>
> returncode = main()
> File "/usr/hdp/current/atlas-server/bin/atlas_start.py", line 105, in main
> if mc.exist_pid((int)(pid)):
> ValueError: invalid literal for int() with base 10: ''
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)