hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "genericqa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7451) Resources Types should be visible in the Cluster Apps API "resourceRequests" section
Date Wed, 10 Jan 2018 13:04:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320195#comment-16320195
] 

genericqa commented on YARN-7451:
---------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 18s{color} | {color:blue}
Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} |
{color:green} The patch does not contain any @author tags. {color} |
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m  0s{color}
| {color:green} The patch appears to include 33 new or modified test files. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 18s{color} | {color:blue}
Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 16m 40s{color}
| {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 27s{color} |
{color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  2m  0s{color}
| {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m 44s{color} |
{color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 13m 55s{color}
| {color:green} branch has no errors when building and testing our client artifacts. {color}
|
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  0s{color} | {color:blue}
Skipped patched modules with no Java source: hadoop-project hadoop-client-modules/hadoop-client-minicluster
hadoop-client-modules/hadoop-client-check-test-invariants {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  1m  8s{color} |
{color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 21s{color} |
{color:green} trunk passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 14s{color} | {color:blue}
Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  4m 54s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 12m 17s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 12m 17s{color} | {color:green}
the patch passed {color} |
| {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:orange}  2m  4s{color}
| {color:orange} root: The patch generated 153 new + 167 unchanged - 11 fixed = 320 total
(was 178) {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  1m 44s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  5s{color} | {color:green}
The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 11m  0s{color}
| {color:green} patch has no errors when building and testing our client artifacts. {color}
|
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  0s{color} | {color:blue}
Skipped patched modules with no Java source: hadoop-project hadoop-client-modules/hadoop-client-minicluster
hadoop-client-modules/hadoop-client-check-test-invariants {color} |
| {color:red}-1{color} | {color:red} findbugs {color} | {color:red}  1m 23s{color} | {color:red}
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager generated
5 new + 0 unchanged - 0 fixed = 5 total (was 0) {color} |
| {color:red}-1{color} | {color:red} javadoc {color} | {color:red}  0m 32s{color} | {color:red}
hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager generated
1 new + 4 unchanged - 0 fixed = 5 total (was 4) {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  0m 20s{color} | {color:green}
hadoop-project in the patch passed. {color} |
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 64m 18s{color} | {color:red}
hadoop-yarn-server-resourcemanager in the patch failed. {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  0m 24s{color} | {color:green}
hadoop-client-minicluster in the patch passed. {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  0m 21s{color} | {color:green}
hadoop-client-check-test-invariants in the patch passed. {color} |
| {color:red}-1{color} | {color:red} asflicense {color} | {color:red}  0m 35s{color} | {color:red}
The patch generated 30 ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black}150m 33s{color} | {color:black}
{color} |
\\
\\
|| Reason || Tests ||
| FindBugs | module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
|
|  |  org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver.ECLIPSELINK_SERIALIZED_TYPES
is a mutable array  At JAXBContextResolver.java: At JAXBContextResolver.java:[line 75] |
|  |  Found reliance on default encoding in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder.getJerseyModuleVersion(String,
URL):in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder.getJerseyModuleVersion(String,
URL): new java.io.InputStreamReader(InputStream)  At ServiceFinder.java:[line 165] |
|  |  org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder.getJerseyModuleVersion(String,
URL) may fail to close stream  At ServiceFinder.java:close stream  At ServiceFinder.java:[line
165] |
|  |  instanceof will always return false in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder$AbstractLazyIterator.hasNext(),
since a Exception can't be a ClassFormatError  At ServiceFinder.java:in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder$AbstractLazyIterator.hasNext(),
since a Exception can't be a ClassFormatError  At ServiceFinder.java:[line 440] |
|  |  instanceof will always return false in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder$AbstractLazyIterator.hasNext(),
since a Exception can't be a NoClassDefFoundError  At ServiceFinder.java:in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper.ServiceFinder$AbstractLazyIterator.hasNext(),
since a Exception can't be a NoClassDefFoundError  At ServiceFinder.java:[line 433] |
| Failed junit tests | hadoop.yarn.server.resourcemanager.TestOpportunisticContainerAllocatorAMService
|
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:5b98639 |
| JIRA Issue | YARN-7451 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12905425/YARN-7451.002.patch
|
| Optional Tests |  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient
 xml  findbugs  checkstyle  |
| uname | Linux 2ab877547fdf 3.13.0-129-generic #178-Ubuntu SMP Fri Aug 11 12:48:20 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/patchprocess/precommit/personality/provided.sh |
| git revision | trunk / d98a2e6 |
| maven | version: Apache Maven 3.3.9 |
| Default Java | 1.8.0_151 |
| findbugs | v3.1.0-RC1 |
| checkstyle | https://builds.apache.org/job/PreCommit-YARN-Build/19179/artifact/out/diff-checkstyle-root.txt
|
| findbugs | https://builds.apache.org/job/PreCommit-YARN-Build/19179/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.html
|
| javadoc | https://builds.apache.org/job/PreCommit-YARN-Build/19179/artifact/out/diff-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
|
| unit | https://builds.apache.org/job/PreCommit-YARN-Build/19179/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
|
|  Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/19179/testReport/ |
| asflicense | https://builds.apache.org/job/PreCommit-YARN-Build/19179/artifact/out/patch-asflicense-problems.txt
|
| Max. process+thread count | 870 (vs. ulimit of 5000) |
| modules | C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants
U: . |
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/19179/console |
| Powered by | Apache Yetus 0.7.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> Resources Types should be visible in the Cluster Apps API "resourceRequests" section
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-7451
>                 URL: https://issues.apache.org/jira/browse/YARN-7451
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager, restapi
>    Affects Versions: 3.0.0
>            Reporter: Grant Sohn
>            Assignee: Szilard Nemeth
>         Attachments: YARN-7451.001.patch, YARN-7451.002.patch, YARN-7451__Expose_custom_resource_types_on_RM_scheduler_API_as_flattened_map01_02.patch
>
>
> When running jobs that request resource types the RM Cluster Apps API should include
this in the "resourceRequests" object.
> Additionally, when calling the RM scheduler API it returns:
> {noformat}
>  "childQueues": {
>                                 "queue": [
>                                     {
>                                         "allocatedContainers": 101,
>                                         "amMaxResources": {
>                                             "memory": 320390,
>                                             "vCores": 192
>                                         },
>                                         "amUsedResources": {
>                                             "memory": 1024,
>                                             "vCores": 1
>                                         },
>                                         "clusterResources": {
>                                             "memory": 640779,
>                                             "vCores": 384
>                                         },
>                                         "demandResources": {
>                                             "memory": 103424,
>                                             "vCores": 101
>                                         },
>                                         "fairResources": {
>                                             "memory": 640779,
>                                             "vCores": 384
>                                         },
>                                         "maxApps": 2147483647,
>                                         "maxResources": {
>                                             "memory": 640779,
>                                             "vCores": 384
>                                         },
>                                         "minResources": {
>                                             "memory": 0,
>                                             "vCores": 0
>                                         },
>                                         "numActiveApps": 1,
>                                         "numPendingApps": 0,
>                                         "preemptable": true,
>                                         "queueName": "root.users.systest",
>                                         "reservedContainers": 0,
>                                         "reservedResources": {
>                                             "memory": 0,
>                                             "vCores": 0
>                                         },
>                                         "schedulingPolicy": "fair",
>                                         "steadyFairResources": {
>                                             "memory": 320390,
>                                             "vCores": 192
>                                         },
>                                         "type": "fairSchedulerLeafQueueInfo",
>                                         "usedResources": {
>                                             "memory": 103424,
>                                             "vCores": 101
>                                         }
>                                     }
>                                 ]
> {noformat}
> However, the web UI shows resource types usage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message