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

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

The testing is somewhat similar to what we have in HDFS-13384.
[~ajayydv], [~linyiqun], do you guys mind taking a look to  
[^HDFS-13410.001.patch]?

> RBF: Support federation with no subclusters
> -------------------------------------------
>
>                 Key: HDFS-13410
>                 URL: https://issues.apache.org/jira/browse/HDFS-13410
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>            Priority: Minor
>         Attachments: HDFS-13410.000.patch, HDFS-13410.001.patch
>
>
> If the federation has no subclusters the logs have long stack traces. Even 
> though this is not a regular setup for RBF, we should trigger log message.
> An example:
> {code}
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>       at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
>       at java.util.LinkedList.get(LinkedList.java:476)
>       at 
> org.apache.hadoop.hdfs.server.federation.router.RouterRpcClient.invokeConcurrent(RouterRpcClient.java:1028)
>       at 
> org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getDatanodeReport(RouterRpcServer.java:1264)
>       at 
> org.apache.hadoop.hdfs.server.federation.metrics.FederationMetrics.getNodeUsage(FederationMetrics.java:424)
> {code}



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