[
https://issues.apache.org/jira/browse/HDFS-13488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450287#comment-16450287
]
Íñigo Goiri commented on HDFS-13488:
------------------------------------
[~linyiqun], the tune between ArrayBlockingQueue and LinkedBlockingQueue is
basically the trigger for overloading.
ArrayBlockingQueue will reject once we pass the capacity and
LinkedBlockingQueue should be able to grow non-stop.
We could set the ArrayBlockingQueue capacity limit to something very large like
Integer.MAX_VALUE but it looks cleaner with the linked approach.
> RBF: Reject requests when a Router is overloaded
> ------------------------------------------------
>
> Key: HDFS-13488
> URL: https://issues.apache.org/jira/browse/HDFS-13488
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Íñigo Goiri
> Assignee: Íñigo Goiri
> Priority: Major
> Attachments: HDFS-13488.000.patch, HDFS-13488.001.patch
>
>
> A Router might be overloaded when handling special cases (e.g. a slow
> subcluster). The Router could reject the requests and the client could try
> with another Router. We should leverage the Standby mechanism for this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]