[
https://issues.apache.org/jira/browse/AMBARI-19629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doroszlai, Attila updated AMBARI-19629:
---------------------------------------
Attachment: AMBARI-19629-trunk.patch
> Move schemaTool invocation out of configure() to hive_metastore start()
> -----------------------------------------------------------------------
>
> Key: AMBARI-19629
> URL: https://issues.apache.org/jira/browse/AMBARI-19629
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Fix For: 3.0.0
>
> Attachments: AMBARI-19629-trunk.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)