You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2015/06/20 01:36:00 UTC

[jira] [Updated] (CHUKWA-759) Configuration for collect HBase metrics and log files

     [ https://issues.apache.org/jira/browse/CHUKWA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-759:
-----------------------------
    Attachment: CHUKWA-759.patch

Configuration for monitoring HBase.  
Usage:

Copy hbase-log4j.properties and hadoop-metrics2-hbase.properties to HBASE_CONF_DIR.

In addition, hbase-env.sh defines the port numbers of each data source:

{code}
export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS -Dhbase.log.port=9106"
export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -Dhbase.log.port=9107"
export HBASE_THRIFT_OPTS="$HBASE_THRIFT_OPTS -Dhbase.log.port=9108"
export HBASE_ZOOKEEPER_OPTS="$HBASE_ZOOKEEPER_OPTS -Dhbase.log.port=9109"
export HBASE_REST_OPTS="$HBASE_REST_OPTS -Dhbase.log.port=9110"
{code}

> Configuration for collect HBase metrics and log files
> -----------------------------------------------------
>
>                 Key: CHUKWA-759
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-759
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: Data Collection
>    Affects Versions: 0.7.0
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.7.0
>
>         Attachments: CHUKWA-759.patch
>
>
> Chukwa can collect HBase metrics and logs with some preconfigured adaptors to stream HBase information.
> 1. Provide example of log4j configuration for HBase to stream logs to Chukwa.
> 2. Provide HBase metrics configuration to stream metrics to Chukwa.
> 3. Provide the Chukwa adaptor list which maps the HBase log streams.
> 4. Demux configuration to reuse Hadoop metrics parser to process HBase data.
> || Port || Description ||
> | 9104 | HBase Metrics |
> | 9105 | HBase Security Audit Log |
> | 9106 | HBase Master Server Log |
> | 9107 | HBase Region Server Log |
> | 9108 | HBase Thrift Server Log |
> | 9109 | HBase ZooKeeper Log |
> | 9110 | HBase REST Log |



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