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-25950: Exclude hosts getting erased when RM, NN are restarted #3711

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

dmmkr
Copy link
Contributor

@dmmkr dmmkr commented Jun 21, 2023

What changes were proposed in this pull request?

Handle exclude hosts during RM,NN restart flow

(Please fill in changes proposed in this fix)

How was this patch tested?

Updated ambari-server jar on the existing cluster, decommissioned a DataNode, Nodemanager. Verified the exlude hosts files on performing

  1. Component Level Stop, Start, Restart(HDFS, YARN)
  2. NN, RM Start, Stop, Restart
  3. Restart all required services on config changes

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Ambari Contributing Guide before opening a pull request.

@virajjasani
Copy link
Contributor

thanks @dmmkr, the changes look good overall, it might be tricky to add UT for this?

@virajjasani
Copy link
Contributor

Thanks for adding tests, +1

@virajjasani virajjasani merged commit c1226eb into apache:branch-2.7 Aug 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants