Hortonworks Sandbox Forum

Not running query

  • #58022

    I have just installed Hortonworks Sandbox.When I am trying to run quesry using sample it is showing the following error.
    Hortonworks Sandbox
    Error occurred executing hive query: OK FAILED: RuntimeException java.net.ConnectException: Call From sandbox.hortonworks.com/10.0.2.15 to sandbox.hortonworks.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #58024
    iandr413
    Moderator

    Hi Amitabha,
    Can you ensure Hive is running? You should be able to do this at the url 127.0.0.1:8080. Are you able to access that URL? Did you make any changes to the sandbox when you imported it?

    Ian

    #64918
    Sondy Woo
    Participant

    Hi Lan,

    I got the same problem. I can access <my sandbox ip>:8000 instead of 8080 port, and how can i set to fix this exception?

    Thx.
    Sondy

    #73805
    pragyanshu kukreti
    Participant

    Hi @IandR i have the similar issue installing sandbox on windows 8.1 pro hyper v but unfortunately i am not able to find any proper resolution for this. i am not able to access the provided URL 127.0.0.1:8080.
    and i didn’t made any changes to sandbox before importing it. i just followed the installation guide provided by Hortonworks.
    Please help.

    #74040
    Robert Molina
    Moderator

    HI pragyanshu,
    For Hypervisor, using 127.0.0.1 most likely would not work. That would only work for the virtualbox platform for Sandbox. The ipaddress you should see is from the console.

    Regards,
    Robert

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.