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:47:01 UTC

[jira] [Updated] (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 updated HADOOP-10706:
------------------------------------------

    Summary: Fix initialization of hrpc_sync_ctx  (was: fix some bug related to hrpc_sync_ctx)

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