Skip to content

[AMBARI-24275] - Unable to Restart Hive When Using An Ambari-Managed MySQL Server#1742

Merged
jonathan-hurley merged 1 commit intoapache:trunkfrom
jonathan-hurley:AMBARI-24275
Jul 10, 2018
Merged

[AMBARI-24275] - Unable to Restart Hive When Using An Ambari-Managed MySQL Server#1742
jonathan-hurley merged 1 commit intoapache:trunkfrom
jonathan-hurley:AMBARI-24275

Conversation

@jonathan-hurley
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

During restart of Hive, the following is observed:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/mysql_server.py", line 63, in <module>
    MysqlServer().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 958, in restart
    self.stop(env, upgrade_type=upgrade_type)
TypeError: stop() got an unexpected keyword argument 'upgrade_type'

How was this patch tested?

----------------------------------------------------------------------
Total run:1200
Total errors:0
Total failures:0
OK
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:04 min
[INFO] Finished at: 2018-07-10T15:32:05-04:00
[INFO] Final Memory: 20M/619M
[INFO] ------------------------------------------------------------------------

@jonathan-hurley jonathan-hurley self-assigned this Jul 10, 2018
@jonathan-hurley jonathan-hurley requested a review from ncole July 10, 2018 19:40
@asfgit
Copy link
Copy Markdown

asfgit commented Jul 10, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3073/
Test PASSed.

@jonathan-hurley jonathan-hurley merged commit 0781b30 into apache:trunk Jul 10, 2018
@jonathan-hurley jonathan-hurley deleted the AMBARI-24275 branch July 10, 2018 20:36
avijayanhwx pushed a commit to avijayanhwx/ambari that referenced this pull request Aug 30, 2018
avijayanhwx pushed a commit that referenced this pull request Aug 30, 2018
aBabiichuk pushed a commit to aBabiichuk/ambari that referenced this pull request Sep 25, 2018
…MySQL Server (apache#1742) (apache#2209)

(cherry picked from commit b8eedd8)

Change-Id: Iced196f6c7e76d277ffda1566360409808f631c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants