I noticed that the wiki page for the Stargate contrib stuff at:

 

http://wiki.apache.org/hadoop/Hbase/Stargate

 

might need some updating. I cranked up the server (after moving the
libs) and I couldn't figure out why it seemed to be running, but I was
getting 404s on most stuff. Then I noticed that in another email on the
list, someone was prefacing calls with the /api/ directive in the url.
Just wanted to point that out to avoid the next guy's confusion.

 

I tried cranking up the Stargate interface as described. I can get a
response with the query:

 

http://server:8090/api/{table_name}/
<http://server:8090/api/%7btable_name%7d/> 

 

but other than that, I'm a little lost.

 

I also found:

 

http://hadoop.apache.org/hbase/docs/r0.20.1/api/org/apache/hadoop/hbase/
stargate/package-summary.html#package_description

 

I tried a few things such as:

 

curl -H "Accept: text/xml" http://localhost:8090/version

 

but that returned 404s.

 

I'm running hbase 0.20.3 on hadoop 0.20, where hdfs is running in
pseudo-distributed mode. From simple Java apps that I've written, I can
create tables, read rows, scan rows etc. So I believe my install is
doing ok. I think maybe I just don't have Stargate setup correctly.
Trying to use the rest api as I've seen it described seems hit and miss.
Things like:

 

http://server:port/api/{table_name}/schema
<http://server:port/api/%7btable_name%7d/schema> 

 

don't work. So, given that its clearly stated that Stargate is *alpha*
software, am I just running up against something that is not quite ready
to roll, or is it that I'm just not doing it right?

 

Josh Patterson

TVA

Reply via email to