You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Robert Nettleton <rn...@hortonworks.com> on 2015/01/15 02:54:56 UTC
Review Request 29914: Support Kafka clusters via Blueprints without
Ganglia
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29914/
-----------------------------------------------------------
Review request for Ambari, John Speidel and Robert Levas.
Repository: ambari
Description
-------
Blueprints that included Kafka, but not Ganglia, were failing
due to an issue in the BlueprintConfigurationProcessor.
The BlueprintConfigurationProcessor was failing during an
attempt to perform hostname substitution on a kafka-broker
property, which is mapped to the
GANGLIA_SERVER's hostname. If GANGLIA_SERVER is not
included in the cluster, the Blueprint deployment
will fail.
This patch addresses this issue by:
- Modifying the property updater registration for the kafka
property that is mapped to the GANGLIA_SERVER component, such
that the property will use hostname substitution when
Ganglia is present, and will return the original stack-defined
value when Ganglia is not present in the cluster.
- Adds assertions to some existing unit tests to verify that
this Kafka configuration property is handled correctly in
the cases of when Ganglia is or is not present in the
cluster.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java d7b4498
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java 167e8fa
Diff: https://reviews.apache.org/r/29914/diff/
Testing
-------
1. Ran the ambari-server unit tests (all passing).
2. Manually verified that a Blueprint deployment of a cluster that includes Kafka, but not Ganglia, will succeed.
Thanks,
Robert Nettleton
Re: Review Request 29914: Support Kafka clusters via Blueprints
without Ganglia
Posted by Robert Levas <rl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29914/#review68235
-----------------------------------------------------------
Ship it!
Ship It!
- Robert Levas
On Jan. 14, 2015, 8:54 p.m., Robert Nettleton wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29914/
> -----------------------------------------------------------
>
> (Updated Jan. 14, 2015, 8:54 p.m.)
>
>
> Review request for Ambari, John Speidel and Robert Levas.
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Blueprints that included Kafka, but not Ganglia, were failing
> due to an issue in the BlueprintConfigurationProcessor.
>
> The BlueprintConfigurationProcessor was failing during an
> attempt to perform hostname substitution on a kafka-broker
> property, which is mapped to the
> GANGLIA_SERVER's hostname. If GANGLIA_SERVER is not
> included in the cluster, the Blueprint deployment
> will fail.
>
> This patch addresses this issue by:
>
> - Modifying the property updater registration for the kafka
> property that is mapped to the GANGLIA_SERVER component, such
> that the property will use hostname substitution when
> Ganglia is present, and will return the original stack-defined
> value when Ganglia is not present in the cluster.
>
> - Adds assertions to some existing unit tests to verify that
> this Kafka configuration property is handled correctly in
> the cases of when Ganglia is or is not present in the
> cluster.
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java d7b4498
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java 167e8fa
>
> Diff: https://reviews.apache.org/r/29914/diff/
>
>
> Testing
> -------
>
> 1. Ran the ambari-server unit tests (all passing).
> 2. Manually verified that a Blueprint deployment of a cluster that includes Kafka, but not Ganglia, will succeed.
>
>
> Thanks,
>
> Robert Nettleton
>
>
Re: Review Request 29914: Support Kafka clusters via Blueprints
without Ganglia
Posted by John Speidel <js...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29914/#review68986
-----------------------------------------------------------
Ship it!
Ship It!
- John Speidel
On Jan. 15, 2015, 2:06 p.m., Robert Nettleton wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29914/
> -----------------------------------------------------------
>
> (Updated Jan. 15, 2015, 2:06 p.m.)
>
>
> Review request for Ambari, John Speidel and Robert Levas.
>
>
> Bugs: AMBARI-9139
> https://issues.apache.org/jira/browse/AMBARI-9139
>
>
> Repository: ambari
>
>
> Description
> -------
>
> This patch addresses AMBARI-9139.
>
> Blueprints that included Kafka, but not Ganglia, were failing
> due to an issue in the BlueprintConfigurationProcessor.
>
> The BlueprintConfigurationProcessor was failing during an
> attempt to perform hostname substitution on a kafka-broker
> property, which is mapped to the
> GANGLIA_SERVER's hostname. If GANGLIA_SERVER is not
> included in the cluster, the Blueprint deployment
> will fail.
>
> This patch addresses this issue by:
>
> - Modifying the property updater registration for the kafka
> property that is mapped to the GANGLIA_SERVER component, such
> that the property will use hostname substitution when
> Ganglia is present, and will return the original stack-defined
> value when Ganglia is not present in the cluster.
>
> - Adds assertions to some existing unit tests to verify that
> this Kafka configuration property is handled correctly in
> the cases of when Ganglia is or is not present in the
> cluster.
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java d7b4498
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java 167e8fa
>
> Diff: https://reviews.apache.org/r/29914/diff/
>
>
> Testing
> -------
>
> 1. Ran the ambari-server unit tests (all passing).
> 2. Manually verified that a Blueprint deployment of a cluster that includes Kafka, but not Ganglia, will succeed.
>
>
> Thanks,
>
> Robert Nettleton
>
>
Re: Review Request 29914: Support Kafka clusters via Blueprints
without Ganglia
Posted by Robert Nettleton <rn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29914/
-----------------------------------------------------------
(Updated Jan. 15, 2015, 2:06 p.m.)
Review request for Ambari, John Speidel and Robert Levas.
Bugs: AMBARI-9139
https://issues.apache.org/jira/browse/AMBARI-9139
Repository: ambari
Description (updated)
-------
This patch addresses AMBARI-9139.
Blueprints that included Kafka, but not Ganglia, were failing
due to an issue in the BlueprintConfigurationProcessor.
The BlueprintConfigurationProcessor was failing during an
attempt to perform hostname substitution on a kafka-broker
property, which is mapped to the
GANGLIA_SERVER's hostname. If GANGLIA_SERVER is not
included in the cluster, the Blueprint deployment
will fail.
This patch addresses this issue by:
- Modifying the property updater registration for the kafka
property that is mapped to the GANGLIA_SERVER component, such
that the property will use hostname substitution when
Ganglia is present, and will return the original stack-defined
value when Ganglia is not present in the cluster.
- Adds assertions to some existing unit tests to verify that
this Kafka configuration property is handled correctly in
the cases of when Ganglia is or is not present in the
cluster.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java d7b4498
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java 167e8fa
Diff: https://reviews.apache.org/r/29914/diff/
Testing
-------
1. Ran the ambari-server unit tests (all passing).
2. Manually verified that a Blueprint deployment of a cluster that includes Kafka, but not Ganglia, will succeed.
Thanks,
Robert Nettleton