hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1257) base64 encoded values are not contained in quotes during the HBase REST JSON serialization
Date Thu, 21 May 2009 00:21:45 GMT

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

stack updated HBASE-1257:
-------------------------

    Fix Version/s:     (was: 0.20.0)

Moving out of 0.20.0.

Brian, there is something wrong with the jar.  Its missing a bunch of stuff:

{code}
    [javac] /Users/stack/checkouts/hbase/cleantrunk/src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java:179:
cannot find symbol
    [javac] symbol  : class JSONObject
    [javac] location: class org.apache.hadoop.hbase.rest.parser.JsonRestParser
    [javac]       scannerDescriptor = new JSONObject(new String(input));
    [javac]                               ^
    [javac] /Users/stack/checkouts/hbase/cleantrunk/src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java:198:
cannot find symbol
    [javac] symbol  : class JSONException
    [javac] location: class org.apache.hadoop.hbase.rest.parser.JsonRestParser
    [javac]     } catch (JSONException e) {
    [javac]              ^
    [javac] /Users/stack/checkouts/hbase/cleantrunk/src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java:214:
cannot find symbol
    [javac] symbol  : class JSONArray
    [javac] location: class org.apache.hadoop.hbase.rest.parser.JsonRestParser
    [javac]     JSONArray a;
    [javac]     ^
    [javac] /Users/stack/checkouts/hbase/cleantrunk/src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java:220:
cannot find symbol
    [javac] symbol  : class JSONObject
    [javac] location: class org.apache.hadoop.hbase.rest.parser.JsonRestParser
    [javac]       JSONObject updateObject = new JSONObject(new String(input));
    [javac]       ^
    [javac] /Users/stack/checkouts/hbase/cleantrunk/src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java:220:
cannot find symbol
    [javac] symbol  : class JSONObject
    [javac] location: class org.apache.hadoop.hbase.rest.parser.JsonRestParser
    [javac]       JSONObject updateObject = new JSONObject(new String(input));
    [javac]                                     ^
    [javac] /Users/stack/checkouts/hbase/cleantrunk/src/java/org/apache/hadoop/hbase/rest/parser/JsonRestParser.java:228:
cannot find symbol
    [javac] symbol  : class JSONException
    [javac] location: class org.apache.hadoop.hbase.rest.parser.JsonRestParser
    [javac]     } catch (JSONException e) {
...
{code}

The size of this jar is only half that of the original.

> 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
>         Attachments: AgileJSON.jar
>
>   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.


Mime
View raw message