Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22087

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • trunk, 3.0.0
    • ambari-server

    Description

      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

      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!
      

      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.

      Attachments

        Activity

          People

            nishantbangarwa Nishant Bangarwa
            dileep529 Dileep Kumar Chiguruvada
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: