You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Alejandro Fernandez <af...@hortonworks.com> on 2017/02/01 00:22:38 UTC

Review Request 56145: HDP 3.0 TP - failed to deploy YARN configs because yarn-site creates conflicts since should not belong to MAPREDUCE2

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56145/
-----------------------------------------------------------

Review request for Ambari, Dmytro Sen, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.


Bugs: AMBARI-19809
    https://issues.apache.org/jira/browse/AMBARI-19809


Repository: ambari


Description
-------

STR:

* Install Ambari trunk
* Install HDP 3.0, e.g., centos6: http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/3.x/BUILDS/3.0.0.0-30
* Select ZK, HDFS, YARN
* During deployment, will see the following error in the ambari-server log

```
26 Jan 2017 20:01:48,119 ERROR [ambari-client-thread-26] ClusterImpl:2662 - Updating configs for multiple services by a single API request isn't supported. Conflicting services YARN and MAPREDUCE2 for yarn-site, config version not created for YARN
```

This is because yarn-site is marked right now as belonging to both YARN and MAPREDUCE2, which is incorrect since it should not belong to MAPREDUCE2.

The fix update the HDP 3.0 service definition for MAPREDUCE2 to use the correct configuration directory.


Diffs
-----

  ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/metainfo.xml a094cba 
  ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py cd35b68 
  ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml 41fe13d 

Diff: https://reviews.apache.org/r/56145/diff/


Testing
-------

Verified on live cluster.


Thanks,

Alejandro Fernandez


Re: Review Request 56145: HDP 3.0 TP - failed to deploy YARN configs because yarn-site creates conflicts since should not belong to MAPREDUCE2

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56145/#review163908
-----------------------------------------------------------


Ship it!




Ship It!

- Swapan Shridhar


On Feb. 1, 2017, 12:22 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56145/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2017, 12:22 a.m.)
> 
> 
> Review request for Ambari, Dmytro Sen, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-19809
>     https://issues.apache.org/jira/browse/AMBARI-19809
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:
> 
> * Install Ambari trunk
> * Install HDP 3.0, e.g., centos6: http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/3.x/BUILDS/3.0.0.0-30
> * Select ZK, HDFS, YARN
> * During deployment, will see the following error in the ambari-server log
> 
> ```
> 26 Jan 2017 20:01:48,119 ERROR [ambari-client-thread-26] ClusterImpl:2662 - Updating configs for multiple services by a single API request isn't supported. Conflicting services YARN and MAPREDUCE2 for yarn-site, config version not created for YARN
> ```
> 
> This is because yarn-site is marked right now as belonging to both YARN and MAPREDUCE2, which is incorrect since it should not belong to MAPREDUCE2.
> 
> The fix update the HDP 3.0 service definition for MAPREDUCE2 to use the correct configuration directory.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/metainfo.xml a094cba 
>   ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py cd35b68 
>   ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml 41fe13d 
> 
> Diff: https://reviews.apache.org/r/56145/diff/
> 
> 
> Testing
> -------
> 
> Verified on live cluster.
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


Re: Review Request 56145: HDP 3.0 TP - failed to deploy YARN configs because yarn-site creates conflicts since should not belong to MAPREDUCE2

Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56145/#review163905
-----------------------------------------------------------


Ship it!




Ship It!

- Sumit Mohanty


On Feb. 1, 2017, 12:22 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56145/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2017, 12:22 a.m.)
> 
> 
> Review request for Ambari, Dmytro Sen, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-19809
>     https://issues.apache.org/jira/browse/AMBARI-19809
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:
> 
> * Install Ambari trunk
> * Install HDP 3.0, e.g., centos6: http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/3.x/BUILDS/3.0.0.0-30
> * Select ZK, HDFS, YARN
> * During deployment, will see the following error in the ambari-server log
> 
> ```
> 26 Jan 2017 20:01:48,119 ERROR [ambari-client-thread-26] ClusterImpl:2662 - Updating configs for multiple services by a single API request isn't supported. Conflicting services YARN and MAPREDUCE2 for yarn-site, config version not created for YARN
> ```
> 
> This is because yarn-site is marked right now as belonging to both YARN and MAPREDUCE2, which is incorrect since it should not belong to MAPREDUCE2.
> 
> The fix update the HDP 3.0 service definition for MAPREDUCE2 to use the correct configuration directory.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/metainfo.xml a094cba 
>   ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py cd35b68 
>   ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml 41fe13d 
> 
> Diff: https://reviews.apache.org/r/56145/diff/
> 
> 
> Testing
> -------
> 
> Verified on live cluster.
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


Re: Review Request 56145: HDP 3.0 TP - failed to deploy YARN configs because yarn-site creates conflicts since should not belong to MAPREDUCE2

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56145/#review163752
-----------------------------------------------------------




ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml (line 61)
<https://reviews.apache.org/r/56145/#comment235247>

    This is the actual bug fix.


- Alejandro Fernandez


On Feb. 1, 2017, 12:22 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56145/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2017, 12:22 a.m.)
> 
> 
> Review request for Ambari, Dmytro Sen, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-19809
>     https://issues.apache.org/jira/browse/AMBARI-19809
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:
> 
> * Install Ambari trunk
> * Install HDP 3.0, e.g., centos6: http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/3.x/BUILDS/3.0.0.0-30
> * Select ZK, HDFS, YARN
> * During deployment, will see the following error in the ambari-server log
> 
> ```
> 26 Jan 2017 20:01:48,119 ERROR [ambari-client-thread-26] ClusterImpl:2662 - Updating configs for multiple services by a single API request isn't supported. Conflicting services YARN and MAPREDUCE2 for yarn-site, config version not created for YARN
> ```
> 
> This is because yarn-site is marked right now as belonging to both YARN and MAPREDUCE2, which is incorrect since it should not belong to MAPREDUCE2.
> 
> The fix update the HDP 3.0 service definition for MAPREDUCE2 to use the correct configuration directory.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/metainfo.xml a094cba 
>   ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py cd35b68 
>   ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml 41fe13d 
> 
> Diff: https://reviews.apache.org/r/56145/diff/
> 
> 
> Testing
> -------
> 
> Verified on live cluster.
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>