You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by vj...@apache.org on 2020/04/01 14:45:26 UTC
[hbase] branch branch-2.3 updated: HBASE-23937 : Documentation for
get_largelog_responses command (ADDENDUM)
This is an automated email from the ASF dual-hosted git repository.
vjasani pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new 5a7abfe HBASE-23937 : Documentation for get_largelog_responses command (ADDENDUM)
5a7abfe is described below
commit 5a7abfe5fbf8b5ff547803a95a7588ebf2056867
Author: Viraj Jasani <vj...@apache.org>
AuthorDate: Wed Apr 1 20:11:02 2020 +0530
HBASE-23937 : Documentation for get_largelog_responses command (ADDENDUM)
---
src/main/asciidoc/_chapters/ops_mgt.adoc | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/src/main/asciidoc/_chapters/ops_mgt.adoc b/src/main/asciidoc/_chapters/ops_mgt.adoc
index f8f9c2a..b8a81b6 100644
--- a/src/main/asciidoc/_chapters/ops_mgt.adoc
+++ b/src/main/asciidoc/_chapters/ops_mgt.adoc
@@ -1908,8 +1908,36 @@ Example:
echo "get_slowlog_responses '*'" | hbase shell > xyz.out 2>&1
----
+Similar to slow RPC logs, client can also retrieve large RPC logs.
+Sometimes, slow logs important to debug perf issues turn out to be
+larger in size.
-shell command to clear slowlog responses from RegionServer:
+----
+
+ hbase> get_largelog_responses '*' => get largelog responses from all RS
+ hbase> get_largelog_responses '*', {'LIMIT' => 50} => get largelog responses from all RS
+ with 50 records limit (default limit: 10)
+ hbase> get_largelog_responses ['SERVER_NAME1', 'SERVER_NAME2'] => get largelog responses from SERVER_NAME1,
+ SERVER_NAME2
+ hbase> get_largelog_responses '*', {'REGION_NAME' => 'hbase:meta,,1'}
+ => get largelog responses only related to meta
+ region
+ hbase> get_largelog_responses '*', {'TABLE_NAME' => 't1'} => get largelog responses only related to t1 table
+ hbase> get_largelog_responses '*', {'CLIENT_IP' => '192.162.1.40:60225', 'LIMIT' => 100}
+ => get largelog responses with given client
+ IP address and get 100 records limit
+ (default limit: 10)
+ hbase> get_largelog_responses '*', {'REGION_NAME' => 'hbase:meta,,1', 'TABLE_NAME' => 't1'}
+ => get largelog responses with given region name
+ or table name
+ hbase> get_largelog_responses '*', {'USER' => 'user_name', 'CLIENT_IP' => '192.162.1.40:60225'}
+ => get largelog responses that match either
+ provided client IP address or user name
+
+----
+
+
+shell command to clear slow/largelog responses from RegionServer:
----
Clears SlowLog Responses maintained by each or specific RegionServers.