That's fine.  My 0.19.3 setup started up the rest server by default on
port 60010 (at least, I don't remember doing anything to turn it on)
so I had assumed the 0.20 one would as well.  As you say, it's easy
enough to fire one up...

--Eric Tschetter

a Ona  Ta hu, Jul 23, 2009 at 10:06 PM, stack<st...@duboce.net> wrote:
> Hmm.  I remember in old days that we used to deploy the REST api on the
> master but that was shut off a while ago.  Thought was that no one was using
> it -- sorry (I don't have the hbase issue to hand) -- and its easy enough
> putting up an explicit REST server if wanted.
>
> I'll let the REST lads talk to how different new API is.
>
> St.Ack
>
> On Thu, Jul 23, 2009 at 9:17 PM, Eric Tschetter <eched...@gmail.com> wrote:
>
>> Ah, so the rest server doesn't start up on it's own anymore with 0.20?
>>
>> I'm looking forward to messing around with stargate, but I already
>> have some stuff that works with the old REST interface, so I'd like to
>> make sure that's still working before moving on :).
>>
>> --Eric
>>
>> On Thu, Jul 23, 2009 at 9:09 PM, stack<st...@duboce.net> wrote:
>> > Run:
>> >
>> > ./bin/hbase rest
>> >
>> > It outputs options.
>> >
>> > For example:
>> >
>> > ./bin/hbase rest start
>> >
>> > ... will start it in current console (on port 60050 by default).
>> >
>> > To start it as background process writing a pid, etc., do
>> > ./bin/hbase-daemon.sh start rest.
>> >
>> > That said, REST story is interesting in 0.20.0 in that the 0.19.0 REST
>> was
>> > redone by Brian Beggs.
>> >
>> > Then Andrew Purtell did a new fancy REST server as a contrib called
>> stargate
>> > (with help from Brian Beggs).
>> >
>> > Documentation on the latter is in javadoc.  There are still a few pieces
>> > missing but they are arriving fast.
>> >
>> > St.Ack
>> >
>> > On Thu, Jul 23, 2009 at 6:37 PM, Eric Tschetter <eched...@gmail.com>
>> wrote:
>> >
>> >> I've been exploring HBase recently and had originally set up a 0.19
>> >> cluster for prototyping, heard that 0.20 has all sorts of performance
>> >> enhancements and setup another 0.20 cluster on a separate dev
>> >> environment.  Everything appears to be working fine, excepting that
>> >> the REST API appears to be non-existent.
>> >>
>> >> I'm not sure if I have to do anything special to make it work, but
>> >> from what I can tell there should be a servlet under
>> >>
>> >> http://hbase-master:port/api/
>> >>
>> >> However, whenever I access that it just loads up a directory listing of
>> >>
>> >> META-INF/
>> >> WEB-INF/
>> >>
>> >> If I try to access anything under /api/, it returns 404s.
>> >>
>> >> The javadoc for org.apache.hadoop.hbase.rest doesn't appear to be
>> >> different from 0.19 (it does list the default port as 60050 instead of
>> >> 60010), so I'm not sure if I am missing some new configuration or if
>> >> there is something else wrong.
>> >>
>> >> None of the updates since the revision I built from seem to touch
>> >> org.apache.hadoop.hbase.rest, though some of them deal with stargate.
>> >> Is the old API gone?
>> >>
>> >> --Eric
>> >>
>> >
>>
>

Reply via email to