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

/etc/hosts rights

  • #9060
    Muhamed Ghareeb

    hi all,
    i need to know what is the correct in /etc/hosts
    some doc say you should write like “IP shortname FQDN”
    and other say spercial ganglia doc “IP FQDN shortname”

  • Author
  • #9061
    Sasha J

    Usually, /etc/hosts have the following format:
    IP FQDN shortname

    Thank you!

    Muhamed Ghareeb

    thanks Sasha
    i see your replies for many topic it very helpful
    you take many time about hdp not supported on centos 6 would you recommended to install hdp on centos 5.8

    Sasha J

    HDP is not frozen, it moving forward and pretty fast.
    It officially supports RHEL6/CentOS6, you can go ahead and do your installation.

    Thank you!

    Muhamed Ghareeb

    Dear Sasha,
    what the optimal OS Centos installation for HDP
    minimal installation
    or basic server and deselect java platform

    Muhamed Ghareeb

    but its not talking about OS requirement

    Sasha J

    Take a look on this page:
    It describes all the requirements.


    Muhamed Ghareeb

    also its not contain answer for my questions
    any way many thanks Sasha

    Sasha J

    it clearly said about the OS versions:

    Component Platforms
    Hortonworks Management Center (HMC) (1) Operating Systems
    RHEL / CentOS 5 (64-bit)
    RHEL / CentOS 6 (64-bit)
    Web Browsers
    Mozilla Firefox – Latest stable version (12 or later)

    Hadoop Components (2) Operating Systems (3)
    RHEL / CentOS 5 (64-bit)
    RHEL / CentOS 6 (64-bit)

    PLus, it define the list of the packages which should on an exact version:

    Check the dependencies on each host in the cluster using the yum info [dependency]command. Confirm the following are either not installed, or if installed, they are these versions.
    Name Dependency Version-Release
    Ruby ruby 1.8.5-24.el5
    Puppet puppet 2.7.9-2
    Ruby Rack rubygem-rack 1.1.0-2.el5
    Ruby Passenger rubygem-passenger 3.0.12-1.el5.centos
    Nagios nagios 3.0.12-1.el5.centos
    Nagios Plugins nagios-plugins 1.4.15-2.el5
    Nagios Common nagios-common 2.12-10.el5
    MySQL mysql 5.*

    There is not much more requirements.
    For example, “Basic Server” package is enough to be installed, plus compatibility libraries.
    Any additional dependencies will be installed during HMC installation.

    Thank you!

    Muhamed Ghareeb

    when i rum yum info ruby

    #yum info ruby
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    * base:
    * epel:
    * extras:
    * updates:
    Available Packages
    Name : ruby
    Arch : x86_64
    Version :
    Release : 7.el6_2
    Size : 532 k
    Repo : base
    Summary : An interpreter of object-oriented scripting language
    URL :
    License : Ruby or GPLv2
    Description : Ruby is the interpreted scripting language for quick and easy
    : object-oriented programming. It has many features to process text
    : files and to do system management tasks (as in Perl). It is simple,
    : straight-forward, and extensible.

    while the version required is 1.8.5-24.el5 not

    Sasha J

    In such case you have to remove installed ruby, the hmc will install correct version as a dependency.


    Muhamed Ghareeb

    the ruby version not installed in my OS
    the yum info get the information from base repo and its meaning the HMC will install thise version not the correct version

    Sasha J

    Just go and install HMC.
    It will install everything what needs for it.


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.