From e4b8bd665ae1600790cf1413fc62858b6ec42844 Mon Sep 17 00:00:00 2001 From: Balazs Meszaros Date: Wed, 4 Apr 2018 11:59:10 +0200 Subject: [PATCH] HBASE-20343 [DOC] fix log directory paths --- src/main/asciidoc/_chapters/architecture.adoc | 30 +++++++++---------- .../asciidoc/_chapters/hbase-default.adoc | 2 +- src/main/asciidoc/_chapters/ops_mgt.adoc | 6 ++-- .../asciidoc/_chapters/troubleshooting.adoc | 14 +++++---- 4 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc index 1f4b77c73cd..bc29d4b1dbd 100644 --- a/src/main/asciidoc/_chapters/architecture.adoc +++ b/src/main/asciidoc/_chapters/architecture.adoc @@ -1114,28 +1114,28 @@ The general process for log splitting, as described in < (Tables in the cluster) - / (Regions for the table) - / (ColumnFamilies for the Region for the table) - / (StoreFiles for the ColumnFamily for the Regions for the table) + /data + / (Namespaces in the cluster) + / (Tables in the cluster) + / (Regions for the table) + / (ColumnFamilies for the Region for the table) + / (StoreFiles for the ColumnFamily for the Regions for the table) ---- The HDFS directory structure of HBase WAL is.. @@ -817,7 +819,7 @@ The HDFS directory structure of HBase WAL is.. ---- /hbase - /.logs + /WALs / (RegionServers) / (WAL files for the RegionServer) ---- @@ -827,7 +829,7 @@ See the link:https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hd [[trouble.namenode.0size.hlogs]] ==== Zero size WALs with data in them -Problem: when getting a listing of all the files in a RegionServer's _.logs_ directory, one file has a size of 0 but it contains data. +Problem: when getting a listing of all the files in a RegionServer's _WALs_ directory, one file has a size of 0 but it contains data. Answer: It's an HDFS quirk. A file that's currently being written to will appear to have a size of 0 but once it's closed it will show its true size