Move files from https://github.com/herdrick/ambari-one-node + some minor changes.

I added code to test if the host has a fqdn and add a entry to the hosts
file

It doesn't solve the whole problem.  Need to figure out the rest of it.
-Steve


On Tue, Jun 10, 2014 at 10:22 AM, Ethan Herdrick <notifications@github.com>
wrote:

> In create_cluster.sh:
>
> > +            s=$(curl -o /dev/null -s -w %{http_code} $url)
> > +            if [[ $s == "000" ]]
> > +                then
> > +                    echo "<no response from server>"
> > +                else
> > +                    echo "HTTP status: $s"
> > +            fi
> > +            sleep 2
> > +        done
> > +}
> > +
> > +echo "First install and start needed services"
> > +sudo yum install -y ntp ntpdate ntp-doc  # in many installs, ex. RHEL EC2 AMI, we already have ntpd and ntpupdate installed
> > +sudo chkconfig ntpd on
> > +sudo service ntpd restart
> > +echo "To get ambari with yum we need the Hortonworks repo"
>
> Good catch. My CentOS didn't have it either but I was using wget to get
> the .zip of this project from github so I already had it before the script
> ran.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/DemandCube/hadoop-single-node-cluster/pull/4/files#r13606762>
> .
>



-- 
Steve Morin | Hacker, Entrepreneur, Startup Advisor
twitter.com/SteveMorin | stevemorin.com
*Live the dream start a startup. Make the world ... a better place.*