Raju Bairishetti created LENS-53:
------------------------------------

             Summary: Lens Server is not getting shutdown in case if user tries 
to stop before initialising the server
                 Key: LENS-53
                 URL: https://issues.apache.org/jira/browse/LENS-53
             Project: Apache Lens
          Issue Type: Bug
          Components: server
            Reporter: Raju Bairishetti
            Priority: Minor


Right now, Lens server is getting shutdown gracefully whenever user stops the 
server after initialisation of server fully.

Server is not getting stopped in case if user tries stop server before 
initializing the server fully. Server starting the services even after user 
requesting to stop the server.

{noformat}
1MNG0PXDTY3:lens-dist-2.0.0-SNAPSHOT-server raju.bairishetti$ bin/lens-ctl stop
Stopping lens server running as 61614
....................................................................................................................................................................................................................................................................................................................................
{noformat}

>From the logs, user requested for stopping the server 06:09:36. Some of the 
>services were started afterwards.
*Server logs:*
22 Nov 2014 06:09:36,593 [SIGTERM handler] INFO  
org.apache.lens.server.LensServer  - Request for stopping lens server received
----
-----
22 Nov 2014 06:09:41,692 [main] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl  - Query execution 
service initialized
22 Nov 2014 06:09:41,692 [main] INFO  org.apache.hive.service.AbstractService  
- Service:metastore is inited.
22 Nov 2014 06:09:41,692 [main] INFO  org.apache.hive.service.AbstractService  
- Service:scheduler is inited.
22 Nov 2014 06:09:41,692 [main] INFO  org.apache.hive.service.AbstractService  
- Service:quota is inited.
22 Nov 2014 06:09:41,693 [main] INFO  org.apache.hive.service.AbstractService  
- Service:lens_services is inited.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to