Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMBARI-23989] Provide Patch or Maint Flag to Command JSON #1420

Merged
merged 1 commit into from May 30, 2018
Merged

[AMBARI-23989] Provide Patch or Maint Flag to Command JSON #1420

merged 1 commit into from May 30, 2018

Conversation

ncole
Copy link
Contributor

@ncole ncole commented May 30, 2018

What changes were proposed in this pull request?

Provide information for either Upgrade or Downgrade that indicates when the bits only are switched. This means some commands may be omitted if they won't affect the state of the cluster.

How was this patch tested?

Manual testing with HDFS on patch, then revert after. Confirmed that bit switching only occurred and that the cluster was still functional.

Unit tests:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36:11 min
[INFO] Finished at: 2018-05-30T17:42:48-04:00
[INFO] Final Memory: 75M/1957M
[INFO] ------------------------------------------------------------------------

@ncole ncole self-assigned this May 30, 2018
@@ -101,7 +101,8 @@ def get_upgrade_summary():
return UpgradeSummary(type=upgrade_summary["type"], direction=upgrade_summary["direction"],
orchestration=upgrade_summary["orchestration"], is_revert = upgrade_summary["isRevert"],
services = service_summary_dict,
is_downgrade_allowed=upgrade_summary["isDowngradeAllowed"])
is_downgrade_allowed=upgrade_summary["isDowngradeAllowed"],
is_switch_bits=upgrade_summary["isSwitchBits"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@asfgit
Copy link

asfgit commented May 30, 2018

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

@ncole ncole merged commit 4292cab into apache:trunk May 30, 2018
@ncole ncole deleted the AMBARI-23989 branch May 30, 2018 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants