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] [Commented] (HADOOP-10706) fix some bug related to hrpc_sync_ctx

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

Colin Patrick McCabe commented on HADOOP-10706:
-----------------------------------------------

Thanks, Binglin.  +1.

> fix some bug related to 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)