Dileep Kumar Chiguruvada created AMBARI-22087:
-------------------------------------------------

             Summary: Druid start component via ambari doesn't wait to check if 
the component is successfully started
                 Key: AMBARI-22087
                 URL: https://issues.apache.org/jira/browse/AMBARI-22087
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.6.0
            Reporter: Dileep Kumar Chiguruvada
             Fix For: 2.6.0


Druid start component via ambari doesn't wait to check if the component is 
successfully started.

Any component start for Druid service will just  execute the start command and 
comes out with exit status 0. It will not further check if the process is 
running, or any port if its listening.

say for example Druid Coordinator
{code}
2017-09-19 18:48:47,076 - Execute['/usr/lib/jvm/java-openjdk/bin/java -cp 
/usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/hdp/current/druid-coordinator/extensions/mysql-metadata-storage/mysql-connector-java.jar
 org.apache.ambari.server.DBConnectionVerification 
'jdbc:mysql://ctr-e134-1499953498516-160569-01-000007.hwx.site:3306/druid?createDatabaseIfNotExist=true'
 druid [PROTECTED] com.mysql.jdbc.Driver'] {'tries': 5, 'user': 'druid', 
'try_sleep': 10}
2017-09-19 18:48:47,554 - Execute['source 
/usr/hdp/current/druid-coordinator/conf/druid-env.sh ; 
/usr/hdp/current/druid-coordinator/bin/node.sh coordinator start'] {'user': 
'druid'}

Command completed successfully!
{code}

The start command via Ambari-UI shows as passed on Ambari-ops even if the 
component fails to start. this gives false impression to check the service.




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

Reply via email to