ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <>
Subject [jira] [Updated] (AMBARI-19629) Move schemaTool invocation out of configure() to hive_metastore start()
Date Fri, 20 Jan 2017 07:35:26 GMT


Doroszlai, Attila updated AMBARI-19629:
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to [trunk|] and [branch-2.5|].

Unit test failure on branch-2.5 is intermittent, not related to this change:

Failed tests: 
  ClusterDeadlockTest.testDeadlockWithConfigsUpdate:309 [Deadlocked Thread:

> Move schemaTool invocation out of configure() to hive_metastore start()
> -----------------------------------------------------------------------
>                 Key: AMBARI-19629
>                 URL:
>             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
>         Attachments: AMBARI-19629-branch-2.5.patch, 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

View raw message