hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HBase 0.90.1 REST API
Date Mon, 18 Apr 2011 21:04:37 GMT
On the surface, the exception could mean that

On Mon, Apr 18, 2011 at 1:53 PM, Xavier Stevens <xstevens@mozilla.com>wrote:

> Currently we're trying to use the REST API on HBase 0.90.1. I'm getting
> a 500 response saying "Invalid row key".
>
> I am trying to post this from a python program:
>
> URL:
>
> http://ourserver:8080/rest_test/713c5967-b2e9-4f44-b0a1-8b862838f865/metrics:json
> Data:
> {"Row": {"Cell": [{"@column": "metrics:json", "$":
> "eyJtZXRyaWMzIjogMywgIm1ldHJpYzIiOiAyLCAibWV0cmljMSI6IDF9"}], "@key":
> "NzEzYzU5NjctYjJlOS00ZjQ0LWIwYTEtOGI4NjI4MzhmODY1"}}
>
> Here's a snippet from the REST server log:
> http://xstevens.pastebin.mozilla.org/1207027
>
> Stack found the source location for this here:
> http://hbase.apache.org/xref/org/apache/hadoop/hbase/client/Put.html#99
>
> And here's the constant definition:
> http://hbase.apache.org/xref/org/apache/hadoop/hbase/HConstants.html#237
>
> Anyone know why this would throw an error?
>
>
> Thanks,
>
>
> Xavier
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message