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-23397] Blueprint deployments for NameNode Federation Fail #822

Merged
merged 4 commits into from Mar 29, 2018

Conversation

rnettleton
Copy link
Contributor

What changes were proposed in this pull request?

Implemented minor changes to the Blueprint processing code in order to support HDFS NameNode Federation deployments. Originally, HDFS NameNode HA deployments could only consist of two NameNodes per cluster, but the new Ambari 2.7.0 support for HDFS NameNode Federation will change that restriction, and now more than two NameNode instances will be supported in a given HDFS deployment in Ambari.

Some configuration processing code was updated to account for this change, and a new unit test was added to verify the change in the BlueprintConfigurationProcessor.

How was this patch tested?

Tested manually against a 3-node vagrant cluster, to ensure that deploying a cluster with three "NAMENODE" components does not cause any deployment error to be returned from the Blueprint deployment code.

Ran the full ambari-server unit test suite, with all Java and Python tests passing.

Deployed an HDFS NameNode HA cluster with Blueprints, using the older model of two NameNode instances in the cluster (Active/Standby), and verified that the HDFS deployment still succeeds with these new changes in place.

Please review Ambari Contributing Guide before opening a pull request.

@asfgit
Copy link

asfgit commented Mar 29, 2018

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

@rnettleton rnettleton merged commit 8d1f100 into apache:trunk Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants