hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Trivial Update of "Hbase/HbaseRest" by stack
Date Sat, 08 Dec 2007 19:23:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by stack:
http://wiki.apache.org/lucene-hadoop/Hbase/HbaseRest

The comment on the change is:
minor edit on starting REST server.  added a little preamble

------------------------------------------------------------------------------
+ This page describes the hbase REST api.  It starts with the specification.  Towards the
end are examples using curl as a client and a description on how to start an instance of the
REST server outside of the master web UI.
- 
- = Starting the Servlet =
- 
- {{{
- cd $HBASE_HOME
- bin/hbase org.apache.hadoop.hbase.rest.Dispatcher
- }}}
- 
- --help gives you the options. 
- 
- = Request Spec =
- 
- This is a the spec for the Hbase-REST API done under the aegis of [https://issues.apache.org/jira/browse/HADOOP-2068
HADOOP-2068].  At the end of this document you can find some examples using curl exercising
the API.
  
  == System Information ==
  
@@ -229, +217 @@

  
  This avoids the problems with having semicolon separators in a single query string parameter,
and is easily read into an array in Java.
  
+ 
+ == Starting the REST Server ==
+ 
+ By default, an instance of the REST servlet runs in the master UI; just browse to '''http://MASTER_HOST:MASTER_PORT/api/'''
(Results are returned as xml by default so you may have to look at source to see results).
+ 
+ If you intend to use the hbase REST API heavily, to run an instance of the REST server outside
of the master, do the following:
+ 
+ {{{
+ cd $HBASE_HOME
+ bin/hbase org.apache.hadoop.hbase.rest.Dispatcher
+ }}}
+ 
+ Pass '''--help''' to see REST server usage. 
+ 
+ = Request Spec =
+ 
+ This is a the spec for the Hbase-REST API done under the aegis of [https://issues.apache.org/jira/browse/HADOOP-2068
HADOOP-2068].  It was committed 11/30/2007.
+ 
+ 
  == Examples using curl ==
  
  Here is a GET of a row.  Notice how values are Base64'd.

Mime
View raw message