The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

WebHCat Smoke Test network Error dns_unresolved_hostname

  • #44514
    Rodulfo
    Participant

    I installed HDP2 using Ambari server, and I get this error on the WebHCat Smoke Test:

    “notice: /Stage[1]/Hdp::Snappy::Package/Hdp::Snappy::Package::Ln[32]/Hdp::Exec[hdp::snappy::package::ln 32]/Exec[hdp::snappy::package::ln 32]/returns: executed successfully
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns: Templeton Smoke Test (status cmd): Failed. :
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns: Network Error
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:

    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns: Network Error (dns_unresolved_hostname)
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns:
    notice: /Stage[2]/Hdp-templeton::Templeton::Service_check/Hdp-templeton::Smoke_shell_file[templetonSmoke.sh]/Exec[/tmp/templetonSmoke.sh]/returns: ”

    I checked directly on my browser: http://myhost:50111/templeton/v1/status and I got {“status”:”ok”,”version”:”v1″} I also checked on the server and nslookup works for ip and hostname

    Any idea what can be wrong?

    Thanks in advance!

  • Author
    Replies
  • #44738
    Kenny Zhang
    Moderator

    Hi Rodulfo,

    Could you please share a little bit of the background of this cluster? How is webhcat deployed? Is it on the same node as ambari-server?
    If no, could you please check to see if selinux and iptables are turn off.

    Please let me know.

    Thanks,
    Kenyy

    #44829
    Rodulfo
    Participant

    Hi!

    Wehcat is on the same node as Ambari Server, yes. I checked and iptables firewall was on after a reboot, so I just turned it off and it worked.

    Thanks for the help!
    Rod

    #44831
    Rodulfo
    Participant

    Wait a minute, what it did work after shuting down the iptables firewall was, that I was able to see the HDFS trough Hue, but unfortunately the WebHCat smoke test continues to return: “Network Error (dns_unresolved_hostname)”.

    Answering your questions: Ambari Server is on the same node, selinux is “permisive” and iptables is turned off.

    #44910
    Kenny Zhang
    Moderator

    Hi Rod,

    I would like to have webEx session to troubleshoot this further. I’ll contact you.

    Thanks,
    Kenny

    #45057
    Rodulfo
    Participant

    All right! Thanks Kenny.

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

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.