[ https://issues.apache.org/jira/browse/HBASE-21466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-21466: --------------------------- Description: In WALProcedureStore ctor , the fs field is initialized this way: {code} this.fs = walDir.getFileSystem(conf); {code} However, when wal.dir is not under rootdir, the above would return wrong FileSystem. In the modified TestMasterProcedureEvents, without fix, the master wouldn't initialize. was: 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. > WALProcedureStore uses wrong FileSystem if wal.dir is not under 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 not under 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)