[
https://issues.apache.org/jira/browse/ATLAS-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sarath Subramanian updated ATLAS-2971:
--------------------------------------
Fix Version/s: 2.0.0
1.2.0
> 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
> Fix For: 1.2.0, 2.0.0
>
> 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)