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

Mikhail Antonov commented on HBASE-15281:
-----------------------------------------

[~rajesh0042] could be handy for additional tracing, looks good. A few nits - 
would be better to use ReflectionsUtils (as in newInstance...() call in this 
class), maybeWrap method should be private, should have comment as to why would 
we wrap, and I'd move it down below the constructor. You can upload a new patch 
or I can fix those on commit.

> Allow the FileSystem inside HFileSystem to be wrapped
> -----------------------------------------------------
>
>                 Key: HBASE-15281
>                 URL: https://issues.apache.org/jira/browse/HBASE-15281
>             Project: HBase
>          Issue Type: New Feature
>          Components: Filesystem Integration, hbase
>    Affects Versions: 2.0.0, 1.2.0
>            Reporter: Rajesh Nishtala
>            Assignee: Rajesh Nishtala
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: HBASE-15281-v1.patch
>
>
> It would be very useful for us to be able to wrap the filesystems 
> encapsulated by HFileSystem with other FilterFileSystems. This allows for 
> more detailed logging of the operations to the DFS. Internally, the data 
> logged from this method has allowed us to show application engineers where 
> there schemas are inefficient and inducing too much IO. This patch will just 
> allow the filesystem to be pluggable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to