Doroszlai, Attila created AMBARI-19629:
------------------------------------------
Summary: 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, 2.5.0
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)