[ https://issues.apache.org/jira/browse/HBASE-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543579#comment-13543579 ]
Jimmy Xiang commented on HBASE-6768: ------------------------------------ Thanks Andy for the clarification. Should we close this issue now? @Mubarak, even if we have some option to limit the value size, we also limit the number of concurrent accesses. As I remember by default a Jetty server supports about 4000 concurrent threads. I think rest server has to get the data at first, then to find its size. > HBase Rest server crashes if client tries to retrieve data size > 5 MB > ---------------------------------------------------------------------- > > Key: HBASE-6768 > URL: https://issues.apache.org/jira/browse/HBASE-6768 > Project: HBase > Issue Type: Bug > Components: REST > Affects Versions: 0.90.5 > Reporter: Mubarak Seyed > Assignee: Jimmy Xiang > Labels: noob > > I have a CF with one qualifier, data size is > 5 MB, when i try to read the > raw binary data as octet-stream using curl, rest server got crashed and curl > throws exception as > {code} > curl -v -H "Accept: application/octet-stream" > http://abcdefgh-hbase003.test1.test.com:9090/table1/row_key1/cf:qualifer1 > > /tmp/out > * About to connect() to abcdefgh-hbase003.test1.test.com port 9090 > * Trying xx.xx.xx.xxx... connected > * Connected to abcdefgh-hbase003.test1.test.com (xx.xxx.xx.xxx) port 9090 > > GET /table1/row_key1/cf:qualifer1 HTTP/1.1 > > User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 > > OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 > > Host: abcdefgh-hbase003.test1.test.com:9090 > > Accept: application/octet-stream > > > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- > 0< HTTP/1.1 200 OK > < Content-Length: 5129836 > < X-Timestamp: 1347338813129 > < Content-Type: application/octet-stream > 0 5009k 0 16272 0 0 7460 0 0:11:27 0:00:02 0:11:25 > 13872transfer closed with 1148524 bytes remaining to read > 77 5009k 77 3888k 0 0 1765k 0 0:00:02 0:00:02 --:--:-- > 3253k* Closing connection #0 > curl: (18) transfer closed with 1148524 bytes remaining to read > {code} > Couldn't find the exception in rest server log or no core dump either. This > issue is constantly reproducible. Even i tried with HBase Rest client > (HRemoteTable) and i could recreate this issue if the data size is > 10 MB > (even with MIME_PROTOBUF accept header) -- 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