hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7100) YARN service api can not reuse json file serialized in hdfs
Date Wed, 30 Aug 2017 00:12:00 GMT

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

Hadoop QA commented on YARN-7100:
---------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} | {color:red}
YARN-7100 does not apply to yarn-native-services. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | YARN-7100 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12884371/YARN-7100.003.yarn-native-services.patch
|
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/17195/console |
| Powered by | Apache Yetus 0.6.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> YARN service api can not reuse json file serialized in hdfs
> -----------------------------------------------------------
>
>                 Key: YARN-7100
>                 URL: https://issues.apache.org/jira/browse/YARN-7100
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn-native-services
>    Affects Versions: 3.0.0-beta1
>            Reporter: Eric Yang
>         Attachments: YARN-7100.001.patch, YARN-7100.002.yarn-native-services.patch, YARN-7100.003.yarn-native-services.patch
>
>
> org.apache.hadoop.yarn.service.api.records.Resource has a new method introduced in YARN-6903
for casting memory from string to long value.  However, the method name getMemoryMB introduces
new output in json that looks like this:
> {code}
>     "resource" : {
>       "uri" : null,
>       "profile" : null,
>       "cpus" : 1,
>       "memory" : "2048",
>       "memory_mb" : 2048
>     },
> {code}
> This prevents the file to be resubmitted to services api because memory_mb property is
unknown to the REST API.  It may be better to rename getMemoryMB method to calcMemoryMB to
avoid the method to be serialized unintentionally.



--
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