You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrii Babiichuk (JIRA)" <ji...@apache.org> on 2019/04/02 17:18:03 UTC

[jira] [Resolved] (AMBARI-25227) Unable to move Hive metastore from one node to another

     [ https://issues.apache.org/jira/browse/AMBARI-25227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrii Babiichuk resolved AMBARI-25227.
---------------------------------------
    Resolution: Fixed

Merged to branch-2.7

> Unable to move Hive metastore from one node to another 
> -------------------------------------------------------
>
>                 Key: AMBARI-25227
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25227
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.7.4
>            Reporter: Andrii Babiichuk
>            Assignee: Andrii Babiichuk
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.4
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> While moving Hive Metastore from one node to another, it is failing at test DB connection step in configure Component page.Seeing following error in ambari-agent logs:
> {noformat}19-03-22 11:15:38,527 - DB connection check started.
> 2019-03-22 11:15:38,527 - There was an unknown error while checking database connectivity: Configuration parameter 'db_name' was not found in configurations dictionary!
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 145, in actionexecute
>     db_connection_check_structured_output = self.execute_db_connection_check(config, tmp_dir)
>   File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 281, in execute_db_connection_check
>     if db_name == DB_MYSQL:
>   File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
> Fail: Configuration parameter 'db_name' was not found in configurations dictionary!
> 2019-03-22 11:15:38,528 - Host checks completed.
> 2019-03-22 11:15:38,529 - Check db_connection_check was unsuccessful. Exit code: 1. Message: Configuration parameter 'db_name' was not found in configurations dictionary!
> Command failed after 1 tries
> {noformat}
> Reproduce steps:
> # Goto Hive Service.
> # Click on Actions tab and select Move Hive Metastore.
> # Fill appropriate values in Move Wizard.
> # Before going to configure component page from Review page, please run following ambari-server command on ambari server host:
> {{ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar}}
> # Click next on review page, it will fail at test DB connection step in Configure component page.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)