From f0da7084e12dbf3c376f53191e8dda5145f347b7 Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Mon, 12 Oct 2015 14:13:55 +1000 Subject: [PATCH] HBASE-14532 Add dfs shortcircuit configs to hbase-default.xml, fix anchor to Compaction subsection --- hbase-common/src/main/resources/hbase-default.xml | 20 ++++++++++++++++++++ src/main/asciidoc/_chapters/architecture.adoc | 1 + 2 files changed, 21 insertions(+) diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index 97d09d6..ef5d995 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -1290,6 +1290,26 @@ possible configurations would overwhelm and obscure the important. to keep. + dfs.client.read.shortcircuit + false + + If set to true, this configuration parameter enables short-circuit local + reads. + + + + dfs.domain.socket.path + none + + This is a path to a UNIX domain socket that will be used for + communication between the DataNode and local HDFS clients, if + dfs.client.read.shortcircuit is set to true. If the string "_PORT" is + present in this path, it will be replaced by the TCP port of the DataNode. + Be careful about permissions for the directory that hosts the shared + domain socket; dfsclient will complain if open to other users than the HBase user. + + + hbase.dfs.client.read.shortcircuit.buffer.size 131072 If the DFSClient configuration diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc index c2f5f8a..9aee05b 100644 --- a/src/main/asciidoc/_chapters/architecture.adoc +++ b/src/main/asciidoc/_chapters/architecture.adoc @@ -1606,6 +1606,7 @@ Key portion for Put #2: It is critical to understand that the rowkey, ColumnFamily, and column (aka columnqualifier) are embedded within the KeyValue instance. The longer these identifiers are, the bigger the KeyValue is. +[[compaction]] ==== Compaction .Ambiguous Terminology -- 2.4.9 (Apple Git-60)