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

Íñigo Goiri commented on HDFS-14710:
------------------------------------

Thanks [~xuzq_zander] for working on this.
* We should create an invokeSingle method that uses the block but also does the 
casting (we have another invokeSingle that does it {{public <T> T 
invokeSingle(final String nsId, RemoteMethod method, Class<T> clazz)}}.
* We need some unit tests which ideally would check the number of calls to 
asses the improvement.

> RBF: Improve some RPC performances
> ----------------------------------
>
>                 Key: HDFS-14710
>                 URL: https://issues.apache.org/jira/browse/HDFS-14710
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: rbf
>            Reporter: xuzq
>            Assignee: xuzq
>            Priority: Minor
>         Attachments: HDFS-14710-trunk-001.patch
>
>
> We can improve some RPC performance if the extendedBlock is not null.
> Such as addBlock, getAdditionalDatanode and complete.
> Since HDFS encourages user to write large files, so the extendedBlock is not 
> null in most case.
> In the scenario of Multiple Destination and large file, the effect is more 
> obvious.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to