[
https://issues.apache.org/jira/browse/AMBARI-25227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807966#comment-16807966
]
Hudson commented on AMBARI-25227:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #468 (See
[https://builds.apache.org/job/Ambari-branch-2.7/468/])
AMBARI-25227 Unable to move Hive metastore from one node to another. (github:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=1fa854123fe8fda8cc6126a11f17a4c24daf06d2])
* (edit) ambari-web/app/controllers/main/service/reassign/step4_controller.js
* (edit) ambari-web/app/controllers/main/service/reassign/step1_controller.js
> 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)