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

My method for successful complete install.

  • #11074
    Trae Barlow
    Member

    rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos6/hdp-release-1.1.1.16-1.el6.noarch.rpm
    yum install epel-release

    yum install nano
    nano /etc/sysconfig/selinux
    SELINUX=disabled

    nano /etc/hosts
    127.0.0.1 FQDN
    exit
    #LOG BACK IN
    hostname -f
    #SHOULD REPORT FQDN

    yum install ntp
    ntpdate pool.ntp.org
    chkconfig ntpd on
    /etc/init.d/ntpd start

    chkconfig iptables off
    /etc/init.d/iptables stop

    yum install openssh-clients
    ssh-keygen
    ssh-copy-id -i /root/.ssh/id_rsa root@FQDN
    ssh root@FQDN
    #SHOULD LOG IN WITHOUT PASSWORD
    exit

    yum update
    shutdown -r now

    yum install php-pecl-json
    yum instlal php-pear

    yum install yum-downloadonly

    yum –downloadonly install hadoop hadoop-libhdfs.x86_64 hadoop-native.x86_64 hadoop-pipes.x86_64 hadoop-sbin.x86_64 hadoop-lzo hadoop hadoop-libhdfs.i386 hadoop-native.i386 hadoop-pipes.i386 hadoop-sbin.i386 hadoop-lzo hive hcatalog oozie-client.noarch hdp_mon_dashboard hdp_mon_nagios_addons nagios-3.2.3 nagios-plugins-1.4.9 fping net-snmp-utils ganglia-gmetad-3.2.0 ganglia-gmond-3.2.0 gweb hdp_mon_ganglia_addons ganglia-gmond-3.2.0 hdp_mon_ganglia_addons snappy snappy-devel lzo lzo.i386 lzo-devel lzo-devel.i386 hadoop-secondarynamenode.x86_64

    yum –downloadonly install hadoop hadoop-libhdfs hadoop-native hadoop-pipes hadoop-sbin hadoop-lzo zookeeper hbase mysql-server hive mysql-connector-java hive hcatalog oozie extjs-2.2-1 oozie-client pig sqoop mysql-connector-java templeton templeton-tar-pig templeton-tar-hive templeton hdp_mon_dashboard hdp_mon_nagios_addons nagios nagios-plugins fping net-snmp-utils ganglia-gmetad ganglia-gmond gweb hdp_mon_ganglia_addons ganglia-gmond gweb hdp_mon_ganglia_addons snappy snappy-devel

    #I AM AWARE OF THE REDUNDANCYS HERE, YES, IT COULD BE REFINED, BUT IT SHOULDN’T CAUSE ANY PROBLEMS.

    /etc/init.d/hmc start

    #ACCEPT LICENSE / DOWNLOAD JAVA

    shutdown -r now

    /etc/init.d/hmc start

    #ASSOCIATE FQDN WITH SERVER IP ON WORKSTATION
    #VISIT FQDN ON WORKSTATION’S WEB BROWSER

    #FILES NEEDED ON WORKSTATION ACCESSING SERVER
    use winscp to get /root/.ssh/id_rsa
    #HOSTS FILE (FILENAME: FQDN) FOR WEBINTERFACE
    FQDN

  • Author
    Replies
  • #11075
    Trae Barlow
    Member

    After a successful install you can go ahead and do…
    yum clean packages
    yum clean all

    to remove any unneeded packages that were downloaded before/during the install.

    #11080
    Trae Barlow
    Member

    #Also, after install, before “managing your cluster” be sure to do;
    service hmc resteart

    #Check the Service Manager and be sure everything is running.
    —————DONE—————

    #11081
    Trae Barlow
    Member

    #One last thing. Before deploying the server do;
    yum install mysql mysql-server
    service mysqld start

    #This isn’t required, but will reduce install time and your chance of a puppet timeout.

    #11082
    Trae Barlow
    Member

    Special thanks to Sasha J.

    Wouldn’t have been possible without your support.

    #11654

    Hi, Did you install it on centos6.x ? because what i am reading is that it does not support centos6 and above

    Thanks

    #11682
    tedr
    Member

    Zulkifal,

    From the Hortonworks Documentation:

    The following operating systems are supported:
    • 64-bit Red Hat Enterprise Linux (RHEL) v5.x or 6.x
    • 64-bit CentOS v5.x or 6.x.

    So it looks like Centos 6 is fully supported now.

    Ted.

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.