[
https://issues.apache.org/jira/browse/HBASE-10575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Feng Honghua updated HBASE-10575:
---------------------------------
Attachment: HBASE-10575-trunk_v1.patch
Patch attached for the fix
And two minor changes
# exit immediately without sleep if isActive()==false after each failed try
# close this.conn and print ReplicationSource exiting log for premature
thread-exit as well
> ReplicationSource thread can't be terminated if it runs into the loop to
> contact peer's zk ensemble and fails continuously
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-10575
> URL: https://issues.apache.org/jira/browse/HBASE-10575
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 0.98.1, 0.99.0, 0.94.17
> Reporter: Feng Honghua
> Assignee: Feng Honghua
> Priority: Critical
> Fix For: 0.99.0
>
> Attachments: HBASE-10575-trunk_v1.patch
>
>
> When ReplicationSource thread runs into the loop to contact peer's zk
> ensemble, it doesn't check isActive() before each retry, so if the given
> peer's zk ensemble is not reachable due to some reason, this
> ReplicationSource thread just can't be terminated by outside such as
> removePeer etc.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)