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

Ayush Saxena commented on HDFS-14224:
-------------------------------------

Just a minor difference. In {{TestRouterRpcMultiDestination}} the path that we 
specify points to multiple destinations. where as in }}{{TestRouterRpc the path 
points to the single destination.

For the getContentSummary() in TestRouterRpc since there is one destination, 
the only response without any manipulations shall be returned :
{code:java}
  if (summaries.size() == 1) {
      return summaries.iterator().next();
{code}
and For in TestRouterRpcMultiDestinations instead an aggregation logic shall be 
implemented on the entries received.

This much only acc. to me

Should we remove the one at TestRouterRpc??

Will update once confirmed :)

 

 

> RBF: NPE in getContentSummary() for getEcPolicy() in case of multiple 
> destinations
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-14224
>                 URL: https://issues.apache.org/jira/browse/HDFS-14224
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14224-HDFS-13891-01.patch, 
> HDFS-14224-HDFS-13891-02.patch, HDFS-14224-HDFS-13891-03.patch, 
> HDFS-14224-HDFS-13891-04.patch
>
>
> Null Pointer Exception in GetContentSummary for EC policy when there are 
> multiple destinations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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