You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Pedro Boado (JIRA)" <ji...@apache.org> on 2018/05/01 00:02:00 UTC

[jira] [Commented] (PHOENIX-4719) Avoid static initialization deadlock while loading regions

    [ 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)