Sandeep Nemuri created ATLAS-2971:
-------------------------------------
Summary: 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
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)