This is an automated email from the ASF dual-hosted git repository. reidchan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push: new b83d0c0 HBASE-22628 [Addendum] Document the custom WAL directory (hbase.wal.dir) usage b83d0c0 is described below commit b83d0c035ffc2d71c11d02bdf4138abf309f2984 Author: Pankaj <pankaj...@huawei.com> AuthorDate: Thu Jul 25 12:18:05 2019 +0530 HBASE-22628 [Addendum] Document the custom WAL directory (hbase.wal.dir) usage Signed-off-by: Reid Chan <reidc...@apache.org> --- src/main/asciidoc/_chapters/architecture.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc index d330d85..886ac08 100644 --- a/src/main/asciidoc/_chapters/architecture.adoc +++ b/src/main/asciidoc/_chapters/architecture.adoc @@ -2495,19 +2495,19 @@ NOTE: `DefaultSourceFSConfigurationProvider` supports only `xml` type files. It === Custom WAL Directory HBASE-17437 added support for specifying a WAL directory outside the HBase root directory or even in a different FileSystem since 1.3.3/2.0+. Some FileSystems (such as Amazon S3) don’t support append or consistent writes, in such scenario WAL directory needs to be configured in a different FileSystem to avoid loss of writes. -Following configurations were added to accomplish this: +Following configurations are added to accomplish this: + . `hbase.wal.dir` + This defines where the root WAL directory is located, could be on a different FileSystem than the root directory. WAL directory can not be set to a subdirectory of the root directory. The default value of this is the root directory if unset. -+ + . `hbase.rootdir.perms` + Configures FileSystem permissions to set on the root directory. This is '700' by default. -+ + . `hbase.wal.dir.perms` + Configures FileSystem permissions to set on the WAL directory FileSystem. This is '700' by default. -+ NOTE: While migrating to custom WAL dir (outside the HBase root directory or a different FileSystem) existing WAL files must be copied manually to new WAL dir, otherwise it may lead to data loss/inconsistency as HMaster has no information about previous WAL directory.