[ 
https://issues.apache.org/jira/browse/AMBARI-11003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srimanth Gunturi updated AMBARI-11003:
--------------------------------------
    Attachment: AMBARI-11003.patch

Tested on live cluster.

Tests pass. Failing tests are not related to this JIRA's work
{noformat}
Results :

Tests in error:
  
testCreateResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest)
  
testCreateResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest)
  
testGetResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest):
 Could not initialize class 
org.apache.ambari.server.controller.internal.ActiveWidgetLayoutResourceProvider
  
testGetResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest)
  
testValidateRepositoryVersion(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest):
 Could not initialize class 
org.apache.ambari.server.controller.internal.ActiveWidgetLayoutResourceProvider
  
testValidateRepositoryVersion(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest)
  
testDeleteResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest):
 Could not initialize class 
org.apache.ambari.server.controller.internal.ActiveWidgetLayoutResourceProvider
  
testDeleteResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest)
  
testUpdateResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest):
 Could not initialize class 
org.apache.ambari.server.controller.internal.ActiveWidgetLayoutResourceProvider
  
testUpdateResources(org.apache.ambari.server.controller.internal.RepositoryVersionResourceProviderTest)

Tests run: 2966, Failures: 0, Errors: 10, Skipped: 20

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42:34.351s
[INFO] Finished at: Thu May 07 14:13:27 PDT 2015
[INFO] Final Memory: 29M/332M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on 
project ambari-server: There are test failures.
[ERROR]
[ERROR] Please refer to 
/Users/sgunturi/dev/git/ambari/ambari-server/target/surefire-reports for the 
individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{noformat}

> YARN theme and 'yarn.nodemanager.resource.cpu-vcores' calculation updates
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-11003
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11003
>             Project: Ambari
>          Issue Type: Task
>          Components: contrib
>    Affects Versions: 2.1.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11003.patch, choice1.png
>
>
> YARNs theme should be updated as shown in attached screenshot.
> Also, the calculation for {{yarn.nodemanager.resource.cpu-vcores}} should be 
> dependent on {{yarn.nodemanager.resource.percentage-physical-cpu-limit}} and 
> the #-physical-cores on NodeManager.
> {noformat}
> minimum = 1
> maximum = 2 * #-physical-cores
> recommended = max(1, floor(#-physical-cores * 
> yarn.nodemanager.resource.percentage-physical-cpu-limit))
> {noformat}
> This new value will be the max of 
> {{yarn.scheduler.minimum-allocation-vcores}} and 
> {{yarn.scheduler.maximum-allocation-vcores}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to