You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by "Yu, Tao" <Ta...@aware.com> on 2015/02/13 20:48:02 UTC
(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
Re: unable to locate package ambari-server
Posted by Benoit Perroud <be...@noisette.ch>.
If you plan to install HDP on 14.04, you might find useful to get some
inspiration from the info I captured to be able to do that, but keep in
mind this is a big hack and obviously not supported by Hortonworks nor the
community:
http://www.swiss-scalability.com/2014/12/install-hdp-22-on-ubuntu-1404-trusty.html
Also, as a side note as we're talking about Ubuntu, MRv1 does not work at
all with Ubuntu (there're plenty of if `rpm -qa | grep hadoop1` in the code
to check if MRv1 is enabled, which obviously does not work with Ubuntu.
Benoit
2015-02-15 20:19 GMT+01:00 Sean Roberts <sr...@hortonworks.com>:
> B - You had likely missed the ‘apt-get update’ after putting the file in
> place. Note that the current packages are for Ubuntu12 not Ubuntu 14, so
> it’s not guaranteed to work.
>
> --
> Hortonworks - We do Hadoop
>
> Sean Roberts
> Partner Solutions Engineer - EMEA
> @seano
>
> From: Adaryl Bob Wakefield, MBA <ad...@hotmail.com>
> <ad...@hotmail.com>
> Reply: user@ambari.apache.org <us...@ambari.apache.org>>
> <us...@ambari.apache.org>
> Date: February 15, 2015 at 19:17:25
> To: user@ambari.apache.org <us...@ambari.apache.org>>
> <us...@ambari.apache.org>
>
> Subject: Re: unable to locate package ambari-server
>
> I think there was. I was working on Ubuntu 12.04. After I upgraded to
> 14.04 (after a bunch of other problems) I was able to pull it down using
> apt-get.
> B.
>
> *From:* Sean Roberts <sr...@hortonworks.com>
> *Sent:* Sunday, February 15, 2015 5:36 AM
> *To:* user@ambari.apache.org
> *Subject:* Re: unable to locate package ambari-server
>
>
> B - Double check these:
>
> 1. Please make sure the sources list is in the appropriate place (ls
> /etc/apt/sources.list.d/ambari.list)
> 2. The content of that file matches the content of http://public-repo–
> 1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list (cat
> /etc/apt/sources.list.d/ambari.list)
> 3. You’ve updated the apt-sources list: sudo apt-get update
>
> If after confirming all of that, there would have to be something wrong
> with your Ubuntu dpkg/apt database.
> --
> Hortonworks - We do Hadoop
>
> Sean Roberts
> Partner Solutions Engineer - EMEA
> @seano
>
> From: Adaryl Bob Wakefield, MBA mailto:adaryl.wakefield@hotmail.com
> <ad...@hotmail.com>
> Reply: user@ambari.apache.org mailto:user@ambari.apache.org
> <us...@ambari.apache.org>
> Date: February 15, 2015 at 10:49:51
> To: user@ambari.apache.org mailto:user@ambari.apache.org
> <us...@ambari.apache.org>
> Subject: unable to locate package ambari-server
>
> I’m following the directions put out with the Hortonworks data
> platform. I’m following the directions to the letter and yet when I run:
> apt-get install ambari-server
>
> I get:
> unable to locate package ambari-server
>
> I’m dead stopped here and not sure what to do. An apt-cache pkgnames shows
> that there are no Ambari packages in the list.
>
> B.
>
>
Re: unable to locate package ambari-server
Posted by Sean Roberts <sr...@hortonworks.com>.
B - You had likely missed the ‘apt-get update’ after putting the file in place. Note that the current packages are for Ubuntu12 not Ubuntu 14, so it’s not guaranteed to work.
--
Hortonworks - We do Hadoop
Sean Roberts
Partner Solutions Engineer - EMEA
@seano
From: Adaryl Bob Wakefield, MBA <ad...@hotmail.com>
Reply: user@ambari.apache.org <us...@ambari.apache.org>
Date: February 15, 2015 at 19:17:25
To: user@ambari.apache.org <us...@ambari.apache.org>
Subject: Re: unable to locate package ambari-server
I think there was. I was working on Ubuntu 12.04. After I upgraded to 14.04 (after a bunch of other problems) I was able to pull it down using apt-get.
B.
From: Sean Roberts<ma...@hortonworks.com>
Sent: Sunday, February 15, 2015 5:36 AM
To: user@ambari.apache.org<ma...@ambari.apache.org>
Subject: Re: unable to locate package ambari-server
B - Double check these:
1. Please make sure the sources list is in the appropriate place (ls /etc/apt/sources.list.d/ambari.list)
2. The content of that file matches the content of http://public-repo–1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list (cat /etc/apt/sources.list.d/ambari.list)
3. You’ve updated the apt-sources list: sudo apt-get update
If after confirming all of that, there would have to be something wrong with your Ubuntu dpkg/apt database.
--
Hortonworks - We do Hadoop
Sean Roberts
Partner Solutions Engineer - EMEA
@seano
From: Adaryl Bob Wakefield, MBA mailto:adaryl.wakefield@hotmail.com
Reply: user@ambari.apache.org mailto:user@ambari.apache.org
Date: February 15, 2015 at 10:49:51
To: user@ambari.apache.org mailto:user@ambari.apache.org
Subject: unable to locate package ambari-server
I’m following the directions put out with the Hortonworks data platform. I’m following the directions to the letter and yet when I run:
apt-get install ambari-server
I get:
unable to locate package ambari-server
I’m dead stopped here and not sure what to do. An apt-cache pkgnames shows that there are no Ambari packages in the list.
B.
Re: unable to locate package ambari-server
Posted by "Adaryl \"Bob\" Wakefield, MBA" <ad...@hotmail.com>.
I think there was. I was working on Ubuntu 12.04. After I upgraded to 14.04 (after a bunch of other problems) I was able to pull it down using apt-get.
B.
From: Sean Roberts
Sent: Sunday, February 15, 2015 5:36 AM
To: user@ambari.apache.org
Subject: Re: unable to locate package ambari-server
B - Double check these:
1.. Please make sure the sources list is in the appropriate place (ls /etc/apt/sources.list.d/ambari.list)
2.. The content of that file matches the content of http://public-repo–1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list (cat /etc/apt/sources.list.d/ambari.list)
3.. You’ve updated the apt-sources list: sudo apt-get update
If after confirming all of that, there would have to be something wrong with your Ubuntu dpkg/apt database.
--
Hortonworks - We do Hadoop
Sean Roberts
Partner Solutions Engineer - EMEA
@seano
From: Adaryl Bob Wakefield, MBA mailto:adaryl.wakefield@hotmail.com
Reply: user@ambari.apache.org mailto:user@ambari.apache.org
Date: February 15, 2015 at 10:49:51
To: user@ambari.apache.org mailto:user@ambari.apache.org
Subject: unable to locate package ambari-server
I’m following the directions put out with the Hortonworks data platform. I’m following the directions to the letter and yet when I run:
apt-get install ambari-server
I get:
unable to locate package ambari-server
I’m dead stopped here and not sure what to do. An apt-cache pkgnames shows that there are no Ambari packages in the list.
B.
Re: unable to locate package ambari-server
Posted by Sean Roberts <sr...@hortonworks.com>.
B - Double check these:
1. Please make sure the sources list is in the appropriate place (ls /etc/apt/sources.list.d/ambari.list)
2. The content of that file matches the content of http://public-repo–1.hortonworks.com/ambari/ubuntu12/1.x/updates/1.7.0/ambari.list (cat /etc/apt/sources.list.d/ambari.list)
3. You’ve updated the apt-sources list: sudo apt-get update
If after confirming all of that, there would have to be something wrong with your Ubuntu dpkg/apt database.
--
Hortonworks - We do Hadoop
Sean Roberts
Partner Solutions Engineer - EMEA
@seano
From: Adaryl Bob Wakefield, MBA <ad...@hotmail.com>
Reply: user@ambari.apache.org <us...@ambari.apache.org>
Date: February 15, 2015 at 10:49:51
To: user@ambari.apache.org <us...@ambari.apache.org>
Subject: unable to locate package ambari-server
I’m following the directions put out with the Hortonworks data platform. I’m following the directions to the letter and yet when I run:
apt-get install ambari-server
I get:
unable to locate package ambari-server
I’m dead stopped here and not sure what to do. An apt-cache pkgnames shows that there are no Ambari packages in the list.
B.
unable to locate package ambari-server
Posted by "Adaryl \"Bob\" Wakefield, MBA" <ad...@hotmail.com>.
I’m following the directions put out with the Hortonworks data platform. I’m following the directions to the letter and yet when I run:
apt-get install ambari-server
I get:
unable to locate package ambari-server
I’m dead stopped here and not sure what to do. An apt-cache pkgnames shows that there are no Ambari packages in the list.
B.
Re: (Host Checks) Hostname Resolution Issues
Posted by Yusaku Sako <yu...@hortonworks.com>.
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 <Ta...@aware.com>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Friday, February 13, 2015 11:48 AM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@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