hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Beggs (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1239) input buffer reading in the REST interface does not correctly clear the character buffer each iteration
Date Wed, 04 Mar 2009 20:51:56 GMT

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

Brian Beggs updated HBASE-1239:
-------------------------------

    Attachment: hbase-inputbuffer.patch

patch for the input buffer issue.

> 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.


Mime
View raw message