Home Forums Hortonworks Sandbox Update tutorials failed

This topic contains 12 replies, has 6 voices, and was last updated by  Robert 12 months ago.

  • Creator
    Topic
  • #33089


    Member

    I download the sandbox on my mac mini, and it works good so far.
    But, the tutorials component (version: 1.0.005) can’t be updated!
    What can I do to fix it?

    ERROR MESSAGE:
    Update tutorials failed: RAN: ‘/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh’ STDOUT: Pull… STDERR: ssh: Could not resolve hostname github.com: Name or service not known fatal: The remote end hung up unexpectedly

Viewing 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #36870

    Robert
    Participant

    Hi Bijoy,
    It would probably be best to start a new post. On your host machine, try to ping github.com. Are you able to ping? If you are able to ping, then you can check your dns servers by executing a ipconfig /all within the windows command prompt. It should provide the DNS servers your machine uses. Then you can log into the sandbox and verify if your dns matches with what’s on your host machine, nslookup command should display this. If I recall correctly, the bridged network interface setup should pick up the same dns servers as your host machine. By default that interface should be dhcp.

    Hope that helps.

    Regards,
    Robert

    Collapse
    #34380

    Bijoy Deb
    Member

    Cheryle,
    I am trying this out on my office network,so there is not really much that I can try out with respect to network or firewall settings change.

    Will,
    Could you clarify on what exactly did you put instead of 8.8.8.8 in resolv.conf? Was it the host computer name Or host IP address?In other words,how do I find out the ‘nameserver configured on my host machine’?My host machine is Windows and I am running the sandbox via VMWare.

    Collapse
    #34260

    Will Fleming
    Member

    For me I noticed that the /etc/resolv.conf file on the sandbox VM instance only had a nameserver 8.8.8.8 entry. I commented that out, then added a nameserver X.X.X.X with the X’s replaced with the nameserver configured on my host machine (reviewing the network card details). Additionally, I reconfigured the VM network card to be bridged. This allowed the sandbox to resolve github.com.

    Collapse
    #34120

    Cheryle Custer
    Moderator

    Hi Bijoy,

    Hmmmm. Yes, you should be able to update the HDP 2.0 Community Preview to see the YARN and Tez tutorials. Have you tried the update while on a different network? I’m wondering if there is a firewall issue that’s blocking the update from GitHub?

    Cheryle

    Collapse
    #33904

    Bijoy Deb
    Member

    Cheryle,
    One minor correction to my earlier reply.Clicking on YARN/TEZ tutorial links gives the below message,asking me to perform an update:
    ………………………….
    “Please update the tutorials to get our latest tutorial on YARN. Click the HUE icon in the upper left corner of the HUE toolbar, then click “Update” next to the Tutorials section of the Component/Version table.”
    ………………….

    And on trying to Update,I get the connection error I had mentioned earlier.

    Collapse
    #33903

    Bijoy Deb
    Member

    Hi Cheryle,
    I am indeed using the HDP 2.0 Community Preview version.But the thing is I am not able to open the existing 1.0.005 tutorial as well,getting the ‘Update Tutorial failed’ error even when I am just clicking on YARN or TEZ tutorial link.

    Collapse
    #33679

    Cheryle Custer
    Moderator

    Bijoy,

    Which version of the Sandbox are you using? If you are on the 2.0 Community Preview there are no new tutorials.

    Cheryle

    Collapse
    #33642

    I had this same error as OP and it was a problem with the network connection, not necessarily a physical connection on my end, but maybe a firewall rule? In any case, moving to a new location (in this case, 4g tethering) and trying the update again let it go through fine.

    Currently my Tutorials version is on 1.0.006, there should have been a new release sometime yesterday I believe [reference]. However, I don’t see the tutorial 12 referenced in that article, even tried rebooting the VM.

    Collapse
    #33619

    Bijoy Deb
    Member

    I tried disconnecting from internet,and rebooting sandbox on VMWarePlayer,but still getting the same error.
    Why is it asking to check for latest update,instead of showing at least an older version.
    Is there any other workaround to this?This issue is coming only for the first 2 tutorial links–>YARN and TEZ tutorials.
    Please suggest.

    Collapse
    #33548

    Cheryle Custer
    Moderator

    if you are experiencing an error that says GitHub is unavailable AND it prevents you from using the Sandbox, please disconnect from the Internet and boot the Sandbox.

    Collapse
    #33512

    Bijoy Deb
    Member

    I am also getting the same error.I tried rebooting the sandbox,but still the same error after reboot.Please let know the fix.

    Collapse
    #33407

    Cheryle Custer
    Moderator

    The 1.0.005 version is the most current version of the tutorials. If you don’t see any tutorial in the left hand pane, disconnect from the internet and boot the Sandbox. It comes configured with tutorials but upon boot will connect to GitHub to pull the most current. If there is an outage on GitHub, you may find the errors you describe.

    Collapse
Viewing 12 replies - 1 through 12 (of 12 total)