Can somebody help me with the syntax for this curl command with Stargate?
The table "bob" exists and has the column f1:v1 as demonstrated by the
hbase shell command

hbase(main):002:0> scan "bob"
ROW                                           COLUMN+CELL
 1234                                         column=f1:,
timestamp=1319829959696, value=value2
 1234                                         column=f1:v1,
timestamp=1319830475778, value=value1b
 1234                                         column=f1:v2,
timestamp=1319829995124, value=value2
1 row(s) in 0.1430 seconds

I am trying to cell data in the specified location using Stargate and
following the wiki at
http://wiki.apache.or/hadoop/Hbase/Stargate....but I run into "Bad
Request" error below no matter what I try.
 Is there some syntax I should be following in the data  '[...]' or is
there some other issue with this?

TIA -- bob

$ curl -H "Content-Type: text/xml" --data '[...]'
http://localhost:8080/bob/1234/f1:v1
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 400 Bad Request</title>
</head>
<body><h2>HTTP ERROR 400</h2>
<p>Problem accessing /bob/1234/f1:v1. Reason:
<pre>    Bad Request</pre></p><hr /><i><small>Powered by
Jetty://</small></i><br/>
...

Reply via email to