ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <yus...@hortonworks.com>
Subject Re: (Host Checks) Hostname Resolution Issues
Date Wed, 04 Mar 2015 07:30:59 GMT
Hi Tao,

Can you run the following API call from the Ambari Server host?
Please replace the hostnames and jdk_location appropriately.

curl -i -uadmin:admin -H 'X-Requested-By: ambari' -d '{
  "RequestInfo": {
    "action": "check_host",
    "context": "Check host",
    "parameters": {
      "check_execute_list": "host_resolution_check",
      "hosts": "c6401.ambari.apache.org, c6402.ambari.apache.org, c6403.ambari.apache.org",
      "jdk_location":"/usr/jdk64/jdk1.7.0_67",
      "threshold": "20"
    }
  },
  "Requests/resource_filters": [
    {
      "hosts": "c6401.ambari.apache.org,c6402.ambari.apache.org,c6403.ambari.apache.org"
    }
  ]
}' http://localhost:8081/api/v1/requests

After you make the call, you will get a response like:
{
  "href" : "http://localhost:8081/api/v1/requests/32",
  "Requests" : {
    "id" : 32,
    "status" : "InProgress"
  }
}

Note the "id", and make the following call (replace id 32 with the actual id you get):
curl -i -u admin:admin http://localhost:8080/api/v1/requests/32/tasks?fields=Tasks/*

Keep calling the above call until the checks complete.
You should be able to see what went wrong.

I hope this helps,
Yusaku

From: <Yu>, Tao <TaoYu@aware.com<mailto:TaoYu@aware.com>>
Reply-To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Date: Friday, February 13, 2015 11:48 AM
To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" <user@ambari.apache.org<mailto:user@ambari.apache.org>>
Subject: (Host Checks) Hostname Resolution Issues

Hi all,

I am trying to create a stack through Ambari Web "install wizard". At step "Confirm Hosts",
all nodes pass "registration", but one node reports "Hostname Resolution Issues", with this
detailed report:

######################################
# Hostname Resolution
#
# A newline delimited list of hostname resolution issues.
######################################
HOSTNAME RESOLUTION ISSUES
vm-galaxy03.aware.com could not resolve: .


I do not see any difference between this node (vm-galaxy03.aware.com) and others.  Could any
one help?

Thanks,
-Tao


Mime
View raw message