[
https://issues.apache.org/jira/browse/HBASE-16947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614292#comment-15614292
]
stack commented on HBASE-16947:
-------------------------------
Thank you Guanghao Zhang. HBASE-16450 was not committed to branch-1. I fixed
that but this patch still fails if I try and apply it to branch-1:
{code}
[ERROR]
/Users/stack/checkouts/hbase.git/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[626,6]
Signal is internal proprietary API and may be removed in a future release
[ERROR]
/Users/stack/checkouts/hbase.git/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java:[286,59]
error: cannot find symbol
[ERROR] symbol: method getNamespaces()
[ERROR] location: variable peerConfig of type ReplicationPeerConfig
[ERROR]
/Users/stack/checkouts/hbase.git/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java:[300,4]
error: cannot find symbol
[ERROR] symbol: class ReplicationQueuesClientArguments
[ERROR] location: class DumpReplicationQueues
[ERROR]
/Users/stack/checkouts/hbase.git/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java:[301,12]
error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hbase-server
...
{code}
Does the above failure make sense to you?
> Some improvements for DumpReplicationQueues tool
> ------------------------------------------------
>
> Key: HBASE-16947
> URL: https://issues.apache.org/jira/browse/HBASE-16947
> Project: HBase
> Issue Type: Improvement
> Components: Operability, Replication
> Affects Versions: 2.0.0, 1.4.0
> Reporter: Guanghao Zhang
> Assignee: Guanghao Zhang
> Attachments: HBASE-16947-v1.patch, HBASE-16947.patch
>
>
> Recently we met too many replication WALs problem in our production cluster.
> We need the DumpReplicationQueues tool to analyze the replication queues info
> in zookeeper. So I backport HBASE-16450 to our branch based 0.98 and did some
> improvements for it.
> 1. Show the dead regionservers under replication/rs znode. When there are too
> many WALs under znode, it can't be atomic transferred to new rs znode. So the
> dead rs znode will be leaved on zookeeper.
> 2. Make a summary about all the queues that belong to peer has been deleted.
> 3. Aggregate all regionservers' size of replication queue. Now the
> regionserver report ReplicationLoad to master, but there were not a aggregate
> metrics for replication.
> 4. Show how many WALs which can not found on hdfs. But the reason (WAL Not
> Found) need more time to dig.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)