[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)
[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: --- Status: Patch Available (was: Open) > 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)