[
https://issues.apache.org/jira/browse/AMBARI-25227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhiguo Wu updated AMBARI-25227:
-------------------------------
Fix Version/s: 2.8.0
> 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: Andriy Babiichuk
> Assignee: Andriy Babiichuk
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 2.8.0, 2.7.4
>
> Time Spent: 50m
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]