You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/03/06 07:43:56 UTC

[jira] Resolved: (HBASE-1239) input buffer reading in the REST interface does not correctly clear the character buffer each iteration

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

stack resolved HBASE-1239.
--------------------------

    Resolution: Fixed

Committed.  Thanks for the fix Brian.

> input buffer reading in the REST interface does not correctly clear the character buffer each iteration
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1239
>                 URL: https://issues.apache.org/jira/browse/HBASE-1239
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: rest
>    Affects Versions: 0.20.0
>         Environment: all
>            Reporter: Brian Beggs
>            Assignee: Brian Beggs
>             Fix For: 0.20.0
>
>         Attachments: hbase-inputbuffer.patch
>
>
> when reading the input buffer in the REST interface the character buffer is not cleared for each iteration of the loop.  This can cause malformed data to be read from the input stream in cases where the input is greater than 640 characters.
> See lines numbered 366-376 in org.apache.hadoop.hbase.rest.Dispatcher.java
> I have prepared a patch for this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.