Hortonworks Sandbox Forum

Problem accessing HBase REST endpoint

  • #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

to create new topics or reply. | New User Registration

  • 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)>

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.