hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14360) Client GC log path is not computed
Date Fri, 18 Sep 2015 20:22:05 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876310#comment-14876310
] 

Nick Dimiduk commented on HBASE-14360:
--------------------------------------

So I applied the patch, uncommented a line in hbase-env.sh, and i'm seeing a file named {{<FILE-PATH>.0}}
in {{$(pwd)}}.

{noformat}
$ git diff conf/hbase-env.sh 
diff --git a/conf/hbase-env.sh b/conf/hbase-env.sh
index b7d00d1..21a45dc 100644
--- a/conf/hbase-env.sh
+++ b/conf/hbase-env.sh
@@ -70,7 +70,7 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -XX:PermSize=128m
-XX:M
 
 # This enables basic GC logging to its own file with automatic log rolling. Only applies
to jdk 1.6.0_34+ and 1.7.0_2+.
 # If FILE-PATH is not replaced, the log file(.gc) would still be generated in the HBASE_LOG_DIR
.
-# export CLIENT_GC_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:<FILE-PATH>
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=512M"
+export CLIENT_GC_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:<FILE-PATH>
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=512M"
 
 # See the package documentation for org.apache.hadoop.hbase.io.hfile for other configurations
 # needed setting up off-heap block caching. 
{noformat}

The client I'm using is {{ltt}} via hbase shell, so {{./bin/hbase ltt -data_block_encoding
FAST_DIFF -bloom ROWCOL -num_keys 100000 -read 50 -write 10:1000}}.

> Client GC log path is not computed
> ----------------------------------
>
>                 Key: HBASE-14360
>                 URL: https://issues.apache.org/jira/browse/HBASE-14360
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Nick Dimiduk
>            Assignee: Gabor Liptak
>            Priority: Minor
>              Labels: beginner
>         Attachments: HBASE-14360.1.patch
>
>
> Looking for GC logs on the client side, I noticed the nice work from HBASE-7817 that
gives us the settings, just uncomment and run. Giving this a try with ltt, looks like {{<FILE-PATH>}}
is not replaced according to the comments. Seems this work is done by {{bin/hbase-daemon.sh}},
not {{bin/hbase}}. The result is my ltt produced a file {{<FILE-PATH>.0}} in {{$(pwd)}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message