incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <yus...@hortonworks.com>
Subject Re: Trouble during deploy
Date Tue, 05 Mar 2013 03:01:14 GMT
Hi Dustine,

What happens after you click on the Deploy button?  It just gets stuck on
the same screen?  Or does it go to the "Install, Start and Test" page with
progress bars?
If you can post /var/log/ambari-server/ambari-server.log, it would be
helpful to troubleshoot.

Also, it sounds like you are using Ambari 1.2.0?
With 1.2.0, you should "ambari-server stop", followed by "ambari-server
reset", then "ambari-server start" if deploy gets stuck. Clear the browser
cache and hit http://<ambari-server>:8080.

BTW, Ambari 1.2.1 handles retrying deploy much better than 1.2.0.
If deploy gets stuck for whatever reason, you can hit refresh on the
browser and hit "Deploy" again (no need to do "ambari-server reset", etc).
You will not get a message saying you already have a cluster with the same
name, etc.
I highly recommend trying out 1.2.1, rather than 1.2.0 (if you are not
already).  In addition to handling retries better, it has 136 fixes over
1.2.0:
https://issues.apache.org/jira/issues/?jql=fixVersion%20%3D%20%221.2.1%22%20AND%20project%20%3D%20AMBARI

Yusaku

On Mon, Mar 4, 2013 at 6:31 PM, Dustine Rene Bernasor <
dustine@thecyberguardian.com> wrote:

> Hello,
>
> I am trying to deploy a Hadoop cluster with 3 nodes using Ambari.
>
> This is my set-up:
>
> HDFS
>   NameNode: NodeA
>   SecondaryNameNode: NodeA
>   DataNodes: 2 hosts
>
> MapReduce
>   JobTracker: NodeA
>   TaskTracker: 2 hosts
>
> Nagios
>   Server: NodeA
>
> Ganglia
>   Server: NodeA
>
> However, after clicking the deploy button, the process seems to be stuck.
>
> I got something like this on the server log:
>
> \"component\":\"JOBTRACKER\",\**"hostName\":\"Crawler51\",\"**
> serviceId\":\"MAPREDUCE\",\"**isInstalled\":false},{\"**display_name\":\"Nagios
> Server\",\"component\":\"**NAGIOS_SERVER\",\"hostName\":\**
> "Crawler51\",\"serviceId\":\"**NAGIOS\",\"isInstalled\":**
> false},{\"display_name\":\"**Ganglia Collector\",\"component\":\"**
> GANGLIA_SERVER\",\"hostName\":**\"Crawler51\",\"serviceId\":\"**
> GANGLIA\",\"isInstalled\":**false}],\"slaveComponentHosts\**
> ":[{\"componentName\":\"**DATANODE\",\"displayName\":\"**
> DataNode\",\"hosts\":[{\"**hostName\":\"Crawler52\",\"**
> group\":\"Default\",\"**isInstalled\":false},{\"**
> hostName\":\"Crawler53\",\"**group\":\"Default\",\"**
> isInstalled\":false}]},{\"**componentName\":\"TASKTRACKER\**
> ",\"displayName\":\"**TaskTracker\",\"hosts\":[{\"**
> hostName\":\"Crawler52\",\"**group\":\"Default\",\"**
> isInstalled\":false},{\"**hostName\":\"Crawler53\",\"**
> group\":\"Default\",\"**isInstalled\":false}]},{\"**
> componentName\":\"CLIENT\",\"**displayName\":\"client\",\"**
> hosts\":[{\"hostName\":\"**Crawler52\",\"group\":\"**
> Default\",\"isInstalled\":**false},{\"hostName\":\"**
> Crawler53\",\"group\":\"**Default\",\"isInstalled\":**
> false}]}]},\"AddHost\":{},\"**AddService\":{}}}"}
>
>
> So after waiting for hours and hours, I tried to do it all over again.
> First I did a reset (ambari-server reset) on the Ambari host
> then did everything from scratch. When I reach the Deploy part, this time,
> I get a message that a cluster with the same name already exists.
>
> Here are my questions:
> 1. What to do with the stuck deploy?
> 2. How to remove the cluster that supposedly exist already? When I log in
> to Ambari, I am redirected to the install wizard.
>
>
> Thanks.
>
> Dustine
>
>

Mime
View raw message