Adrian Muraru updated HBASE-20140:
    Attachment: HBASE-20140.branch-1.v01.patch

> HRegion FileSystem should be instantiated from hbase rootDir not default
> ------------------------------------------------------------------------
>                 Key: HBASE-20140
>                 URL: https://issues.apache.org/jira/browse/HBASE-20140
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 3.0.0
>            Reporter: Adrian Muraru
>            Assignee: Adrian Muraru
>            Priority: Minor
>         Attachments: HBASE-20140.branch-1.v01.patch, HBASE-20140.v01.patch
> HRegion fs initialization is done based on HDFS default {{fs.defaultFs}} 
> instead of {{hbase.rootdir}}
> This is breaking in cases where the {{fs.defaultFs}} is set to a different  
> filesystem than the one set in fully qualified {{hbase.rootdir}}
> The usecase is the following: running an yarn cluster with `fs.defaultFs` set 
> to local HDFS and running a MR job over HBase Snapshots setting the 
> {{hbase.rootDir}} to external S3 Filesystem (fully qualified). In this case 
> when the regions are actually cold loaded in map tasks the defaultFs is used 
> instead of actual hbase.rootDir

This message was sent by Atlassian JIRA

Reply via email to