hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2088) Fix code bug in GetApplicationsRequestPBImpl#mergeLocalToBuilder
Date Thu, 19 Jun 2014 00:53:24 GMT

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

Junping Du commented on YARN-2088:
----------------------------------

bq. I think we should just simply call "builder.clear()" instead of clearing each property
individually.
Just think again. This is not correct as it will cause values in proto get lost even not update
in this time. Please ignore this.

> Fix code bug in GetApplicationsRequestPBImpl#mergeLocalToBuilder
> ----------------------------------------------------------------
>
>                 Key: YARN-2088
>                 URL: https://issues.apache.org/jira/browse/YARN-2088
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>         Attachments: YARN-2088.v1.patch
>
>
> Some fields(set,list) are added to proto builders many times, we need to clear those
fields before add, otherwise the result proto contains more contents.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message