[
https://issues.apache.org/jira/browse/HDFS-5810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-5810:
---------------------------------------
Attachment: HDFS-5810.006.patch
* ShortCircuitCache#fetchOrCreate: retry here if we get a stale replica.
* ShortCircuitCache#obliterate: must set refCount to 0 here.
* fix up some logs, add more trace logs
* fix findbugs issues
* add more descriptive failure message to some asserts
* TestBlockTokenWithDFS: fix test control flow. fix longstanding DFSClient
leak.
* move getConfiguration and getUGI out of the RemotePeerFactory interface.
> Unify mmap cache and short-circuit file descriptor cache
> --------------------------------------------------------
>
> Key: HDFS-5810
> URL: https://issues.apache.org/jira/browse/HDFS-5810
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Affects Versions: 2.3.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HDFS-5810.001.patch, HDFS-5810.004.patch,
> HDFS-5810.006.patch
>
>
> We should unify the client mmap cache and the client file descriptor cache.
> Since mmaps are granted corresponding to file descriptors in the cache
> (currently FileInputStreamCache), they have to be tracked together to do
> "smarter" things like HDFS-5182.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)