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

Samarth Jain commented on PHOENIX-3974:
---------------------------------------

[~sergey.soldatov] - do you run into this issue with or without setting the RPC 
scheduler factory on the region servers? 

{code}
<property>
  <name>hbase.region.server.rpc.scheduler.factory.class</name>
  <value>org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory</value>
  <description>Factory to create the Phoenix RPC Scheduler that uses separate 
queues for index and metadata updates</description>
</property>
<property>
  <name>hbase.rpc.controllerfactory.class</name>
  
<value>org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory</value>
  <description>Factory to create the Phoenix RPC Scheduler that uses separate 
queues for index and metadata updates</description>
</property>
{code}



> Create index may issue a distributed dead lock due lack of handlers
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-3974
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3974
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.11.0
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>         Attachments: PHOENIX-3974.patch
>
>
> In PHOENIX-3360 we were trying to avoid using index rpc on client side, 
> setting controller manually in Indexer.  But after we moved index creating to 
> server side there is another set of RS-RS communication that comes from 
> UngroupedAggregateRegionObserver with regular priority. That may cause 
> distributed dead lock when all handlers are occupied by index create scanners 
> for user table and inside they are trying to send index updates. To prevent 
> it we need to set controller in UngroupedAggregateRegionObserver in the 
> similar way like we did in Indexer. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to