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

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

    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

        1. AMBARI-19629-branch-2.5.patch
          16 kB
          Attila Doroszlai
        2. AMBARI-19629-trunk.patch
          12 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: