Home Forums Hortonworks Sandbox Problem accessing HBase REST endpoint

This topic contains 1 reply, has 2 voices, and was last updated by  Jim Hatcher 1 month, 2 weeks ago.

  • Creator
    Topic
  • #55435

    Jamie Thomson
    Participant

    Hi,
    I’m trying to access the HBase REST endpoint on Hortonworks Sandbox (running on hyper-v on Windows8).
    I can hit http://192.168.56.101:8085/rest.jsp and see the RESTServer home page
    </p>

    However if I try and hit /version (which I should be able to) I see this:

    I figure restarting rest endpoint would be handy so issued “/usr/lib/hbase/bin/hbase-daemon.sh stop rest” and was told:
    “no rest to stop because kill -0 of pid 19934 failed with status 1″
    Not being a linux guy myself I didn’t really know what to do with that. Working on the assumption that it wasn’t a problem I issued “”/usr/lib/hbase/bin/hbase-daemon.sh start rest”. If I look in the log I see this:
    (I’ve highlighted what I think are the pertinent parts)

    I still can’t hit the /version endpoint though, this time I try with curl:

    So at this point I’m rather nonplussed. Can anyone tell me what the problem is here? Hopefully I’ve provided enough info so that someone can diagnose it.

    Thanks in advance
    JT

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #60345

    Jim Hatcher
    Participant

    I had the exact same problem. I ended up changing port 8085 to port 8999, and then it worked. (I should probably mention that I also had to setup Oracle VirtualBox to forward port 8999 through to my VM)>

    Collapse
Viewing 1 replies (of 1 total)