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

Richard Ding commented on ATLAS-1218:
-------------------------------------

[~jonesn], I like the idea of having atlas_start script wait until server is 
ready. In fact, atlas_stop script uses _wait_for_shutdown_ function to wait 
until the server is gone. The attached patch implements a _wait_for_startup_ 
function.

Here are the output of atlas_start and atlas_stop script:

{code}
starting atlas on port 21000
........................................................................................................................
Apache Atlas Server started!!!
{code}

and 

{code}
stopping atlas........
Apache Atlas Server stopped!!!
{code}

> Atlas says it is started but does not accept REST requests
> ----------------------------------------------------------
>
>                 Key: ATLAS-1218
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1218
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Radley
>
> I start Atlas on the command line and it tells me is started - but REST 
> requests are not accepted immediately. There appears to be asynchronous 
> background processes that have not yet initialized. I feel that when Atlas 
> says it is started it should be open for business and accept REST requests.  
> a few seconds later REST requests are accepted. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to