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

What to do if nothing works with HMC installation on single node VM?

  • #8869
    Rich Raposa

    I have a clean install of CentOS 6.3, and I have followed the HDP install instructions religiously in the documentation. My IP address is in VirtualBox and my /etc/hosts file looks like: localhost.localdomain localhost localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    I get an error that states “All kicks failed”. The result of is uploaded to your server. If you see anything that is wrong in there, please let me know.

    Thanks for all your help on this! Can I install HDP on CentOS 6.3? Maybe that’s my problem.


  • Author
  • #8989
    Sasha J

    1. Install CentOS 6.3 in VirtualBox
    a. 4GB RAM
    b. at least 16 GB drive
    c. Bridged network adapter
    d. (Optional) Downloaded the NetInstall ISO from a mirror (
    e. Boot from the ISO image or CD/DVD drive and follow the instructions to install CentOS 6.3. The setup URL is
    2. Run CentOS 6.3
    a. Create a user: hadoop_user/password
    b. Login as root
    3. Disable the Firewall
    a. chkconfig iptables off
    b. chkconfig ip6tables off
    4. Disable SELinux
    a. vi /etc/selinux/config
    b. Change SELINUX=enforcing to SELINUX=disabled
    5. Configure ntpd to start at bootup
    a. chkconfig ntpd on
    6. Configure Network Settings (converting from DHCP to static IP address)
    a. Run ifconfig to determine IP address and Netmask
    b. Run “netstat –rn” to determine Gateway
    c. Run “cat /etc/resolve.conf” to determine your DNS server
    d. From the menu, select System->Preferences->Network Connections
    e. Select “System eth0” and click on the “Edit…” button
    f. On the IPv4 Settings tab, change the “Method:” to Manual
    g. Click the Add button to add a new Address, and use the information that you got from ifconfig and netstat –rn
    h. Enter your DNS server in the field provided
    i. Click Apply… and close everything
    7. Change hostname
    a. Edit /etc/sysconfig/network and change hostname to “horton” (or any other name you like)
    b. Edit /etc/hosts and a line that looks like the following (use your IP address): horton
    8. Setup SSH
    a. ssh-keygen
    b. ssh-copy-id –i ~/.ssh/ root@horton
    c. Verify by entering “ssh root@horton”
    9. Download Chrome (or a newer version of Firefox) (NOTE: You can skip this step if you run the HMC installer from your host OS)
    a. Download the rpm
    b. Install the RPM (double-click on it and follow the instructions)
    c. Add Chrome to the launcher panel
    d. Right-click on it and go to Properties, then add the –user-data-dir flag (if you want to be able to run Chrome as root)
    e. You can also run chrome using the command:
    /opt/google/chrome/google-chrome –user-data-dir %U &
    10. Define hostdetail.txt
    a. From any convenient folder:
    vi hostdetail.txt
    b. Add one line: horton
    11. REBOOT VM AT THIS POINT!!! Make sure it get the name and IP address which were defined in steps 6 and 7. Make sure SELinux and firewall remains on disables state and not running after reboot.

    12. Setup the Bits
    a. rpm -Uvh
    b. yum –y install epel-release
    c. yum –y install hmc
    d. ONLY do this if you have slow connection to the Internet!!! If connection is decent, DO NOT preinstall anything. The forums tell you to pre-install the following RPMs if you’re having issues. You need to either SKIP THIS STEP or DO NOT INSTALL THE Oozie PACKAGES. If you pre-install oozie – it may cause a failure later! Best bet is to skip this step altogether.

    yum install -y hadoop hadoop-libhdfs.x86_64 hadoop-native.x86_64 hadoop-pipes.x86_64 hadoop-sbin.x86_64 hadoop-lzo hadoop hadoop-libhdfs.x86_64 hadoop-native.x86_64 hadoop-pipes.x86_64 hadoop-sbin.x86_64 hadoop-lzo hadoop hadoop-libhdfs hadoop-native hadoop-pipes hadoop-sbin hadoop-lzo hadoop hadoop-libhdfs hadoop-native hadoop-pipes hadoop-sbin hadoop-lzo hadoop hadoop-libhdfs.x86_64 hadoop-native.x86_64 hadoop-pipes.x86_64 hadoop-sbin.x86_64 hadoop-lzo hadoop hadoop-libhdfs hadoop-native hadoop-pipes hadoop-sbin hadoop-lzo zookeeper zookeeper hbase hbase hbase mysql-server hive mysql-connector-java hive hcatalog pig.noarch sqoop mysql-connector-java templeton templeton-tar-pig- templeton-tar-hive- templeton 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 gweb hdp_mon_ganglia_addons snappy snappy-devel lzo lzo lzo-devel lzo-devel

    13. Make a clone of the VirtualBox instance, just to be on a safe side. You can use this clone later if you need to create more clusters or if something goes wrong with the current installation…
    a. Cleanly shut down your machine
    b. Right-click on the VB instance and select Full Clone. If something fails, you can now start over at this step in the process, instead of starting over all the way back at the beginning!
    c. Start up your VM again and login as root
    14. Start HMC
    a. service hmc start
    b. Download the JDK (say “Y” to both questions)
    15. Run the Installer
    a. You can execute hmc installation from within the VM, or you can use your host’s machine browser. If you are using your host’s web browser, then copy /home/root/.ssh/id_rsa and hostdetail.txt file over to your native OS
    b. Go to (using the approriate IP address of your VM instance)
    c. Follow the steps of the wizard:
    i. Select “/” for the mount points and uncheck /dev/mapper mount points. (Very important – the install will fail if you do not change the mount points!)
    ii. Select all services to be installed
    iii. Enter passwords where required
    iv. Set heap size of the HBase regionserver to 1024 on the “HBase” tab of the Customize Settings page
    v. Enable WebHDFS on the “HDFS” tab
    d. Start the deploy process and cross your fingers! You can watch the install process here:
    tail –f /var/log/hmc/hmc.log
    tail –f /var/log/puppet_apply.log
    e. You can see which processes have started using jps (in /usr/jdk64/jdk1.6.0_31/bin folder)
    16. Restart hmc
    a. If you have a successful deploy:
    service hmc restart
    b. Follow the steps here to run hmc as a service at startup:
    17. Export Appliance in VirtualBox
    a. Clone the VM or export it as a *.ova file, but either way save it for later use!

The topic ‘What to do if nothing works with HMC installation on single node VM?’ is closed to new 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.