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

Pedro Boado commented on PHOENIX-4719:
--------------------------------------






RS reaches a static initialization deadlock between  
org.apache.phoenix.exception.SQLExceptionCode  and 
org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.

SQLException:246  uses a static member of PhoenixDatabaseMetadata . And  
PhoenixDatabaseMetadata:93  ( static field ) ends up accesing a static field 
from SQLException  when building  TableProperty:237

In the process this ends up also blocking ServerUtil:73 and indirectly 
DelegateRegionCoprocessorEnvironment:50 .
 [^dump-rs.log] 

> Avoid static initialization deadlock while loading regions
> ----------------------------------------------------------
>
>                 Key: PHOENIX-4719
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4719
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0, 5.0.0
>         Environment: Detected in 4.14-cdh5.14 running in CentOS 6.7 and JDK 7
>            Reporter: Pedro Boado
>            Assignee: Pedro Boado
>            Priority: Major
>         Attachments: dump-rs.log
>
>
> HBase cluster initialization appears to fail as RS is not able to serve all 
> table regions. 
> Almost all table regions are stuck in transition waiting for the first three 
> regions to be opened. After a while the process times out and RS fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to