[ https://issues.apache.org/jira/browse/HBASE-12787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268297#comment-14268297 ]
Alicia Ying Shu commented on HBASE-12787: ----------------------------------------- public interface RpcSchedulerFactory { /** * Constructs a {@link org.apache.hadoop.hbase.ipc.RpcScheduler}. * * Please note that this method is called in constructor of {@link HRegionServer}, so some * fields may not be ready for access. The reason that {@code HRegionServer} is passed as * parameter here is that an RPC scheduler may need to access data structure inside * {@code HRegionServer} (see example in {@link SimpleRpcSchedulerFactory}). */ RpcScheduler create(Configuration conf, RegionServerServices server); } RegionServerServices already extends Abortable. There is no interface change in 0.98 for this feature. > Backport HBASE-12028 (Abort the RegionServer when it's handler threads die) > to 0.98 > ----------------------------------------------------------------------------------- > > Key: HBASE-12787 > URL: https://issues.apache.org/jira/browse/HBASE-12787 > Project: HBase > Issue Type: Task > Reporter: Andrew Purtell > Assignee: Alicia Ying Shu > Labels: phoenix > Fix For: 0.98.10 > > Attachments: hbase-12028-0.98.patch > > > Backport HBASE-12028 (Abort the RegionServer when it's handler threads die) > to 0.98. There are two 0.98-specific changes that should be addressed: > # The default configuration should preserve current behavior > # The interface change to RpcSchedulerFactory should be binary compatible for > Phoenix if possible, and we can do this by detecting with reflection if an > older implementation of the interface is missing the new 'create' method and > by invoking the older deprecated 'create' method instead. We can cache the > decision after making it once. -- This message was sent by Atlassian JIRA (v6.3.4#6332)