[ 
https://issues.apache.org/jira/browse/ATLAS-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690069#comment-16690069
 ] 

ASF subversion and git services commented on ATLAS-2971:
--------------------------------------------------------

Commit 29f7e3f5d56e9502eafa7e75840161bc479b3e0a in atlas's branch 
refs/heads/branch-0.8 from [~Sandeep Nemuri]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=29f7e3f ]

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)

Reply via email to