[jira] [Commented] (ATLAS-2971) Atlas fails to start if there is a empty pid file

2018-11-16 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/ATLAS-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
(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 
>  
> 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)


[jira] [Commented] (ATLAS-2971) Atlas fails to start if there is a empty pid file

2018-11-16 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/ATLAS-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 
(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 
>  
> 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)


[jira] [Commented] (ATLAS-2971) Atlas fails to start if there is a empty pid file

2018-11-16 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ATLAS-2971:


Commit 945de013f5466ffcf71d16c6ec1772fdee83e2f6 in atlas's branch 
refs/heads/master from [~Sandeep Nemuri]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=945de01 ]

ATLAS-2971: Atlas fails to start if there is a empty pid file

Signed-off-by: Sarath Subramanian 


> 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 
>  
> 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)


[jira] [Commented] (ATLAS-2971) Atlas fails to start if there is a empty pid file

2018-11-16 Thread Sarath Subramanian (JIRA)


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

Sarath Subramanian commented on ATLAS-2971:
---

looks good. +1 for the patch.

> 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 
>  
> 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)