hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2051) Fix code bug and add more unit tests for PBImpls
Date Tue, 15 Jul 2014 03:16:05 GMT

     [ 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

> 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

View raw message