phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Senia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1527) QueryIT hangs
Date Thu, 21 Mar 2019 22:35:00 GMT

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

Greg Senia commented on PHOENIX-1527:
-------------------------------------

Did anyone ever figure out the cause of this problem?? Seems like there could still be an
edge case out there ran into it today leaving the HBase/Phoenix Client deadlocked unable to
make calls a restart of the webapp bring s it back to life:


"http-nio-9000-exec-10" #221 daemon prio=5 os_prio=0 tid=0x00007f36e4884800 nid=0x7233 waiting
on condition [0x00007f36a0edd000]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x00000000ed901618> (a java.util.concurrent.FutureTask)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
        at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
        at java.util.concurrent.FutureTask.get(FutureTask.java:191)
        at org.apache.hadoop.hbase.client.HTable.coprocessorService(HTable.java:1775)
        at org.apache.hadoop.hbase.client.HTable.coprocessorService(HTable.java:1731)
        at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1276)
        at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:1257)
        at org.apache.phoenix.query.ConnectionQueryServicesImpl.getTable(ConnectionQueryServicesImpl.java:1474)
        at org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:597)
        at org.apache.phoenix.schema.MetaDataClient.updateCache(MetaDataClient.java:518)
        at org.apache.phoenix.compile.FromCompiler$BaseColumnResolver.createTableRef(FromCompiler.java:573)
        at org.apache.phoenix.compile.FromCompiler$SingleTableColumnResolver.<init>(FromCompiler.java:391)
        at org.apache.phoenix.compile.FromCompiler.getResolverForQuery(FromCompiler.java:228)
        at org.apache.phoenix.compile.FromCompiler.getResolverForQuery(FromCompiler.java:206)
        at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:468)
        at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:442)
        at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:300)
        at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:290)
        at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
        at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:289)
        at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:283)
        at org.apache.phoenix.jdbc.PhoenixPreparedStatement.executeQuery(PhoenixPreparedStatement.java:186)
        at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
        at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
        at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:698)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:639)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:690)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:722)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:732)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:782)


> QueryIT hangs
> -------------
>
>                 Key: PHOENIX-1527
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1527
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>            Reporter: Andrew Purtell
>            Priority: Major
>         Attachments: org.apache.phoenix.end2end.QueryIT-jstack.txt
>
>
> Main thread hung in coprocessor exec as part of createTable
> {noformat}
> "main" prio=10 tid=0x00007feba8007800 nid=0x222e waiting on condition [0x00007febb0ad2000]
>    java.lang.Thread.State: WAITING (parking)
>         at sun.misc.Unsafe.park(Native Method)
>         - parking to wait for  <0x00000007edbada08> (a org.apache.phoenix.job.JobManager$JobFutureTask)
>         at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
>         at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:425)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:187)
>         at org.apache.hadoop.hbase.client.HTable.coprocessorService(HTable.java:1554)
>         at org.apache.hadoop.hbase.client.HTable.coprocessorService(HTable.java:1511)
>         at org.apache.phoenix.query.ConnectionQueryServicesImpl.metaDataCoprocessorExec(ConnectionQueryServicesImpl.java:
> 1074)
>         at org.apache.phoenix.query.ConnectionQueryServicesImpl.createTable(ConnectionQueryServicesImpl.java:1291)
>         at org.apache.phoenix.query.DelegateConnectionQueryServices.createTable(DelegateConnectionQueryServices.java:110)
>         at org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1590)
> {noformat}



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

Mime
View raw message