You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/04/20 04:13:58 UTC
[jira] [Commented] (AMBARI-10589) BE: Stack advisor endpoints
should support config-groups specific calls
[ https://issues.apache.org/jira/browse/AMBARI-10589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502238#comment-14502238 ]
Hadoop QA commented on AMBARI-10589:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12726491/AMBARI-10589.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:red}-1 core tests{color}. The test build failed in ambari-server
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2409//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2409//console
This message is automatically generated.
> BE: Stack advisor endpoints should support config-groups specific calls
> -----------------------------------------------------------------------
>
> Key: AMBARI-10589
> URL: https://issues.apache.org/jira/browse/AMBARI-10589
> Project: Ambari
> Issue Type: Task
> Components: contrib
> Affects Versions: 2.1.0
> Reporter: Srimanth Gunturi
> Assignee: Dmytro Sen
> Fix For: 2.1.0
>
> Attachments: AMBARI-10589.patch
>
>
> The {{/recommendations}} and {{/validations}} endpoints should support actions "configurations", "configuration-dependencies" and "component-layout" for config-groups. This involves making the calculations for defaults and validations, using only the hosts for that config-group.
> {code}
> "changed_configurations": [
> {
> "type": "yarn-site",
> "name": "yarn.scheduler.minimum-allocation-mb"
> }
> ],
> "recommendations": {
> "config_groups": [
> {
> "configurations": [
> {
> "yarn-site": {
> "properties": {
> "yarn.scheduler.minimum-allocation-mb": "1024"
> }
> }
> }
> ],
> "hosts": [
> "tick-2.c.pramod-thangali.internal",
> "tick-3.c.pramod-thangali.internal"
> ]
> }
> ],
> "blueprint": { ... }
> "blueprint_cluster_binding": { ... }
> {code}
> API has to check the presence of {{config_groups}} in the "recommendations" bag, and use only those hosts for calculations. The response would return the changes inside the same {{config_groups}} object as written in document. The inner property {{configurations}} contains changes local to the config-group. The inner property {{dependent_configurations}} contains changes outside of the config-group.
> {code}
> "recommendations": {
> "config_groups": [
> {
> "configurations": [
> {
> "yarn-site": {
> "properties": {
> "yarn.scheduler.minimum-allocation-mb": "1024"
> },
> "property_attributes": {
> "yarn.scheduler.minimum-allocation-mb": {
> "max": "2048"
> }
> }
> }
> }
> ],
> "dependent_configurations": [
> {
> "mapred-site": {
> "properties": {
> "mapreduce.map.memory.mb": "975",
> "mapreduce.reduce.memory.mb": "1950",
> "yarn.app.mapreduce.am.command-opts": "-Xmx780m -Dhdp.version=${hdp.version}",
> "mapreduce.reduce.java.opts": "-Xmx1560m",
> "yarn.app.mapreduce.am.resource.mb": "975",
> "mapreduce.map.java.opts": "-Xmx780m",
> "mapreduce.task.io.sort.mb": "682"
> },
> "property_attributes": {
> "mapreduce.reduce.memory.mb": {
> "max": "2048",
> "min": "975"
> },
> "mapreduce.map.memory.mb": {
> "max": "2048",
> "min": "975"
> },
> "yarn.app.mapreduce.am.resource.mb": {
> "max": "2048",
> "min": "975"
> }
> }
> }
> }
> ],
> "hosts": [
> "tick-2.c.pramod-thangali.internal",
> "tick-3.c.pramod-thangali.internal"
> ]
> }
> ],
> "blueprint": { ... }
> "blueprint_cluster_binding": { ... }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)