You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Binglin Chang (JIRA)" <ji...@apache.org> on 2014/07/15 05:16:05 UTC

[jira] [Updated] (YARN-2051) Fix code bug and add more unit tests for PBImpls

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

Binglin Chang updated YARN-2051:
--------------------------------

    Attachment: YARN-2051.v1.patch

This path using reflection to test all PBImpl records in hadoop-yarn-common. 
Basically for each PBImpl record, it tests get/set methods and serialization/deserialization. 
95 new test case are added, when running those tests, some classes are found with bug and fixed.


> Fix code bug and add more unit tests for PBImpls
> ------------------------------------------------
>
>                 Key: YARN-2051
>                 URL: https://issues.apache.org/jira/browse/YARN-2051
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Junping Du
>            Assignee: Binglin Chang
>            Priority: Critical
>         Attachments: YARN-2051.v1.patch
>
>
> From YARN-2016, we can see some bug could exist in PB implementation of protocol. The bad news is most of these PBImpl don't have any unit test to verify the info is not lost or changed after serialization/deserialization. We should add more tests for it.



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