You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/06/17 06:59:02 UTC

[jira] [Resolved] (HADOOP-10706) Fix initialization of hrpc_sync_ctx

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

Colin Patrick McCabe resolved HADOOP-10706.
-------------------------------------------

          Resolution: Fixed
       Fix Version/s: HADOOP-10388
    Target Version/s: HADOOP-10388

> Fix initialization of hrpc_sync_ctx
> -----------------------------------
>
>                 Key: HADOOP-10706
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10706
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>             Fix For: HADOOP-10388
>
>         Attachments: HADOOP-10706.v1.patch
>
>
> 1. 
> {code}
>     memset(&ctx, 0, sizeof(ctx));
>      return ctx;
> {code}
> Doing this will alway make return value to 0
> 2.
> hrpc_release_sync_ctx should changed to hrpc_proxy_release_sync_ctx, all the functions in this .h/.c file follow this rule



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