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

Hosts "Name" column is blank

  • #50495
    Matias Kvaternik
    Participant

    Hi,

    I have a provisioned a small 4-node Hadoop cluster with ambari, and all went fairly smooth and I can manage and view information about the cluster through the console, there is one small glitch however: None of the server hostnames show up in the console view (under Hosts). I do see 4 records, and IP address is listed and also I see the green status circle, but for some reason the hostname is not there. What method is ambari using to resolve IP to hostname? I have /etc/hosts entries across the board.
    Thanks!

  • Author
    Replies
  • #50536
    Jeff Sposetti
    Moderator

    Using the REST API, what is the output of this call (to your ambari server)?

    http://your.ambari.server:8080/api/v1/hosts

    Anything special about your network configuration? Public and private networks?

    #50557
    Matias Kvaternik
    Participant

    Thanks Jeff. This appears to give good results. some JSON with the right info. E.g.:

    {
    “href” : “http://10.0.0.112:8080/api/v1/hosts”,
    “items” : [
    {
    “href” : “http://10.0.0.112:8080/api/v1/hosts/dmnode01.demo.dm4h.ec2”,
    “Hosts” : {
    “cluster_name” : “DM4H”,
    “host_name” : “dmnode01.demo.dm4h.ec2”
    }
    },
    {
    “href” : “http://10.0.0.112:8080/api/v1/hosts/dmnode02.demo.dm4h.ec2”,
    “Hosts” : {
    “cluster_name” : “DM4H”,
    “host_name” : “dmnode02.demo.dm4h.ec2”
    }
    }, ……

    As for the setup, it’s standard /etc/hosts entries. We’re in an amazon VPC. There are no reverse lookup entries on the IP addresses, and I’m guessing that’s why servers are blank, but why is ambari trying to reverse lookup the IP if all hosts are registered already successfully. Everything works great except for this one anomaly.

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.