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

Restarting of services does not observe intra-service dependency

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.7.0
    • 2.1.1
    • ambari-server
    • None

    Description

      Currently, some services, such as Hive, manages sub subservice like database service. When starting a service, the order of the subservices are observed to ensure they start properly. However, for restarting of services, the dependency order is not observed.

      In the case of Hive, the restart sequence is:
      HCat Client,
      Hive Client,
      Hive Metastore (has dependency on mysql, but started before)
      HiveServer2,
      MySQL server,
      WebHCat server

      So if Mysql Server is down, then the HIve restart sequence will fail.

      To recreate the problem, stop MySQL server, then restart Hive service. One will see that the Hive Metastore service will fail to start.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tctruong213 Tuong Truong
            tctruong213 Tuong Truong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment