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

HDP installation problem

  • #10393
    vik onto
    Member

    Hi all.
    I try to install HDP on singel node RHEL 6.
    and when I run ‘yum install hmc’ I already failed on :

    –> Finished Dependency Resolution
    Error: Package: 1:rubygem-rack-1.1.0-2.el6.noarch (epel)
    Requires: rubygems
    Error: Package: rubygem-daemon_controller-0.2.6-1.el6.noarch (epel)
    Requires: rubygems
    Error: Package: hmc-1.0.2.15-2.el6.noarch (HDP-1.1.0.15)
    Requires: php-posix
    Error: Package: rubygem-fastthread-1.0.7-2.el6.x86_64 (epel)
    Requires: rubygems
    Error: Package: 1:rubygem-passenger-3.0.12-1.el6.x86_64 (HDP-UTILS-1.1.0.15)
    Requires: rubygem(rake) >= 0.8.1
    Error: Package: 1:rubygem-passenger-3.0.12-1.el6.x86_64 (HDP-UTILS-1.1.0.15)
    Requires: rubygems
    Error: Package: hmc-1.0.2.15-2.el6.noarch (HDP-1.1.0.15)
    Requires: rubygems
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    help me pls

  • Author
    Replies
  • #10396
    Sasha J
    Moderator

    You have to configure RHEL repositories to be accessible from your machine.
    All those dependencies are located in there.

    #11904
    David Kunz
    Participant

    These are the steps I used to get the installation to work:

    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 hmc

    ** Failed, requiring php-posix and rubygems

    rpm -i php-process-5.3.3-14.el6_3.x86_64.rpm

    yum install ruby

    yum install ruby-rdoc

    rpm -i rubygems-1.3.7-1.el6.noarch.rpm

    rpm -i rubygem-rake-0.8.7-2.1.el6.noarch.rpm

    yum install hmc < Packages

    #11905
    Sasha J
    Moderator

    David,
    Looks like your base RedHat repositories is not configured.
    Use “yum repolist” to see what repositories you have configured on your system.

    Thank you!
    Sasha

    #11906
    David Kunz
    Participant

    Here’s what it shows:
    repo id repo name status
    HDP-1.1.1.16 Hortonworks Data Platform Version – HDP-1.1.1.16 71
    HDP-UTILS-1.1.0.15 Hortonworks Data Platform Utils Version – HDP-UTILS- 52
    epel Extra Packages for Enterprise Linux 6 – x86_64 8,029
    rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 64-bit x86 8,638

    #11908
    Sasha J
    Moderator

    David,
    this one:
    rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 64-bit x86 8,638
    is the one which should contain needed packages.
    Try to install those separately (yum install php-posix rubygems).

    Thank you!
    Sasha

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.