You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ian Roughley (JIRA)" <ji...@apache.org> on 2009/03/11 20:18:50 UTC

[jira] Commented: (HBASE-1257) base64 encoded values are not contained in quotes during the HBase REST JSON serialization

    [ https://issues.apache.org/jira/browse/HBASE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680999#action_12680999 ] 

Ian Roughley commented on HBASE-1257:
-------------------------------------

I've fixed the issue in github and pushed it up.  The fix is pretty simple, removing the quotes before base64 encoding and then adding them back to the result.  

> base64 encoded values are not contained in quotes during the HBase REST JSON serialization
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1257
>                 URL: https://issues.apache.org/jira/browse/HBASE-1257
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: rest
>    Affects Versions: 0.20.0
>            Reporter: Brian Beggs
>            Assignee: Brian Beggs
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> base64 encoded values are having the quotes put around the values before the base64 encoding takes place.  This renders improper JSON that some (all?) json parsers are unable to process.
> The defect should be fixed in the agile-json jar available here:
> http://github.com/gottesmm/agile-json-2.0/tree/master
> I'm hoping to get to this before this weekend.

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