You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Adam Fuchs (JIRA)" <ji...@apache.org> on 2013/04/08 03:33:15 UTC

[jira] [Updated] (ACCUMULO-1251) TFramedTransport frame size limited on client side

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

Adam Fuchs updated ACCUMULO-1251:
---------------------------------

    Attachment: ACCUMULO-1251.patch

This has the effect of reverting to the Accumulo 1.4.x / Thrift 0.6 behavior for TFramedTransport. We would eventually want to offer an ability to limit the max message size to be passed to clients as well in a future version.
                
> TFramedTransport frame size limited on client side
> --------------------------------------------------
>
>                 Key: ACCUMULO-1251
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1251
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client, thrift
>            Reporter: Adam Fuchs
>            Assignee: Adam Fuchs
>            Priority: Critical
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-1251.patch
>
>
> The client code restricts the size of a scan or multiscan result to 16MB. This should be configurable. We fixed this for the server side in ACCUMULO-1141.
> {code}
> DEBUG 2013-04-07 20:05:35,370 [batch scanner 521- 9 looking up 4 ranges at 127.0.0.1:9997] (TabletServerBatchReaderIterator.java:696) - Server : 127.0.0.1:9997 msg : Frame size (20489533) larger than max length (16384000)!
> DEBUG 2013-04-07 20:05:35,371 [batch scanner 521- 9 looking up 4 ranges at 127.0.0.1:9997] (TabletServerBatchReaderIterator.java:377) - org.apache.thrift.transport.TTransportException: Frame size (20489533) larger than max length (16384000)!
> java.io.IOException: org.apache.thrift.transport.TTransportException: Frame size (20489533) larger than max length (16384000)!
> 	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:698)
> 	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator$QueryTask.run(TabletServerBatchReaderIterator.java:361)
> 	at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
> 	at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: org.apache.thrift.transport.TTransportException: Frame size (20489533) larger than max length (16384000)!
> 	at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:137)
> 	at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
> 	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> 	at org.apache.accumulo.core.client.impl.ThriftTransportPool$CachedTTransport.readAll(ThriftTransportPool.java:253)
> 	at org.apache.thrift.protocol.TCompactProtocol.readByte(TCompactProtocol.java:601)
> 	at org.apache.thrift.protocol.TCompactProtocol.readMessageBegin(TCompactProtocol.java:470)
> 	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
> 	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.recv_continueMultiScan(TabletClientService.java:321)
> 	at org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Client.continueMultiScan(TabletClientService.java:307)
> 	at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:672)
> 	... 7 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira