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

Move schemaTool invocation out of configure() to hive_metastore start()

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 3.0.0, 2.5.0
    • ambari-server
    • None

    Description

      The schemaTool invocation should not be part of the configure method as generally the configure method should be callable from install as well and schemaTool requires a running database to be available which is not true if the default mysql database server shipped with hive is used.

      Also since only one component can configure method at a time on the same host in order to avoid overwriting common shared configs the configure methods are synchronized across all components on a host. Having the schemaTool lengthy operation in the configure method will delay the execution of configure methods of the other components in case of parallel command execution.

      Attachments

        Activity

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

          People

            adoroszlai Attila Doroszlai Assign to me
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment