You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/11/11 17:29:00 UTC

[jira] [Updated] (HBASE-21466) WALProcedureStore uses wrong FileSystem if wal.dir is on different FileSystem as rootdir

     [ https://issues.apache.org/jira/browse/HBASE-21466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-21466:
---------------------------
    Attachment: 21466.v1.txt

> WALProcedureStore uses wrong FileSystem if wal.dir is on different FileSystem as rootdir
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-21466
>                 URL: https://issues.apache.org/jira/browse/HBASE-21466
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Major
>         Attachments: 21466.v1.txt
>
>
> In WALProcedureStore ctor , the fs field is initialized this way:
> {code}
>     this.fs = walDir.getFileSystem(conf);
> {code}
> However, when wal.dir is on different FileSystem as rootdir, the above would return wrong FileSystem.
> In the modified TestMasterProcedureEvents, without fix, the master wouldn't initialize.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)