hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15809) Basic Replication WebUI
Date Wed, 11 May 2016 20:55:13 GMT

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

Sean Busbey commented on HBASE-15809:
-------------------------------------

{code}
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/FreeReplicationEndpoint.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/FreeReplicationEndpoint.java
new file mode 100755
index 0000000..9333f98
--- /dev/null
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/FreeReplicationEndpoint.java
@@ -0,0 +1,147 @@
+package org.apache.hadoop.hbase.replication.regionserver;
+ 
+import java.io.IOException;
+import java.io.InputStream;
{code}

File is missing ASF header

{code}
+/*
+ * add_peer '1', ENDPOINT_CLASSNAME => 'org.apache.hadoop.hbase.replication.regionserver.FreeReplicationEndpoint',
CONFIG => {'master_addresses' => 'localhost:18080'}
+ * create 'testtb', {NAME => 'f', REPLICATION_SCOPE => 1}
+ * put 'testtb', 'row0', 'f:q', 'value0'
+ */
+public class FreeReplicationEndpoint extends BaseReplicationEndpoint
+    im
{code}

I like the instructions for installation, but also needs a brief description what this endpoint
is used for. When would I want to install it?

> Basic Replication WebUI
> -----------------------
>
>                 Key: HBASE-15809
>                 URL: https://issues.apache.org/jira/browse/HBASE-15809
>             Project: HBase
>          Issue Type: New Feature
>          Components: Replication, UI
>    Affects Versions: 2.0.0
>            Reporter: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: HBASE-15809-v0.patch, HBASE-15809-v0.png
>
>
> At the moment the only way to have some insight on replication from the webui is looking
at zkdump and metrics.
> the basic information useful to get started debugging are: peer information and the view
of WALs offsets for each peer.



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

Mime
View raw message