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

Hairong Kuang commented on HADOOP-6640:
---------------------------------------

This solution will add cost to each rpc call although the cost is 
insignificant. Base on the discussion so far, will you consider solution 1 
(Sanjay's proposal)? From my point of view, solution 1 is quite straightforward 
and the concern you have seems very unlikely to happen.

> FileSystem.get() does RPC retries within a static synchronized block
> --------------------------------------------------------------------
>
>                 Key: HADOOP-6640
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6640
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Hairong Kuang
>            Priority: Critical
>
> If using FileSystem.get() in a multithreaded environment, and one get() locks 
> because the NN URI is too slow or not responding and retries are in progress, 
> all other get() (for the diffferent users, NN) are blocked.
> the synchronized block in in the static instance of Cache inner class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to