[ https://issues.apache.org/jira/browse/HADOOP-6356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774757#action_12774757 ]
dhruba borthakur commented on HADOOP-6356: ------------------------------------------ My opinion is to not add a cache. The current cache implementation helps performance because the compatible-version-check is done only once per filesystem object. However, this approach is not very correct because the server could have restarted with a different version of the software. I think it is appropriate to do the compatible-version-check for each RPC instead of doing it per creation-of-FileSystem object. > Add a Cache for AbstractFileSystem in the new FileContext/AbstractFileSystem > framework. > --------------------------------------------------------------------------------------- > > Key: HADOOP-6356 > URL: https://issues.apache.org/jira/browse/HADOOP-6356 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 0.22.0 > Reporter: Sanjay Radia > Assignee: Sanjay Radia > Fix For: 0.22.0 > > > The new filesystem framework, FileContext and AbstractFileSystem does not > implement a cache for AbstractFileSystem. > This Jira proposes to add a cache to the new framework just like with the old > FileSystem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.