You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2013/01/04 01:30:14 UTC
[jira] [Commented] (HBASE-6768) HBase Rest server crashes if client
tries to retrieve data size > 5 MB
[ https://issues.apache.org/jira/browse/HBASE-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543458#comment-13543458 ]
Jimmy Xiang commented on HBASE-6768:
------------------------------------
With 0.92, I could not reproduce this issue. I can get a column > 10MB (Content-Length: 11485760):
{noformat}
* About to connect() to test-1 port 8080 (#0)
* Trying 10.20.204.199... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0connected
* Connected to test-1 (10.20.204.199) port 8080 (#0)
> GET /usertable/row_4/f:row_4 HTTP/1.1
> User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
> Host: test-1:8080
> Accept: application/octet-stream
>
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0< HTTP/1.1 200 OK
< Content-Length: 11485760
< X-Timestamp: 1357249057636
< Content-Type: application/octet-stream
<
{ [data not shown]
100 10.9M 100 10.9M 0 0 3078k 0 0:00:03 0:00:03 --:--:-- 3081k
* Connection #0 to host test-1 left intact
* Closing connection #0
{noformat}
> 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