phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4691) Keep Ring buffer size small by default and avoid starting disruptor for server connection
Date Sat, 14 Apr 2018 17:06:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ankit Singhal updated PHOENIX-4691:
-----------------------------------
    Attachment:     (was: PHOENIX-4691.patch)

> Keep Ring buffer size small by default and avoid starting disruptor for server connection
> -----------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4691
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4691
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.0, 5.0.0
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>            Priority: Major
>             Fix For: 4.14.0, 5.0.0
>
>         Attachments: PHOENIX-4691.patch
>
>
> To avoid OOM on connections made with small JVM.
> {code}
> Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError:
GC overhead limit exceeded
> 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2256)
> 	at com.google.common.cache.LocalCache.get(LocalCache.java:3990)
> 	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4793)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:241)
> 	at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:664)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:208)
> 	at org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:390)
> 	at org.apache.phoenix.util.QueryUtil.getConnectionOnServer(QueryUtil.java:369)
> 	at org.apache.phoenix.util.QueryUtil.getConnectionOnServer(QueryUtil.java:359)
> 	at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(MetaDataEndpointImpl.java:1708)
> 	... 9 more
> {code}



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

Mime
View raw message