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

DataNode Installation Failed using Ambari

  • #28832
    Shuja Rehman

    I am trying to install HDP using Amabari But it failed at DataNode Installation. Here is the log

    err: /Stage[1]/Hdp/Hdp::Lzo::Package[64]/Hdp::Package[lzo 64]/Hdp::Package::Process_pkg[lzo 64]/Package[lzo]/ensure: change from absent to present failed: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install lzo’ returned 1: Error: failure: repodata/ca4955a576a383203bddf6c74b380c0cf1b998b35710888ea488d5e20d958038-primary.sqlite.bz2 from HDP-epel: [Errno 256] No more mirrors to try.

    Let me know what is the solution


  • Author
  • #28863

    Hi Shuja,

    A few questions here:
    1 – Are you behind a firewall? – from the log snippet it looks as if it can’t connect to the software repository.
    2 – Which version of HDP are you attempting to install? – it looks like it is trying to download sqlite and we haven’t used that in our installation for quite a while
    3 – Which OS (CentOS, RedHat,SUSE) are you installing on? – if RedHat or SUSE it’s possible that an unregistered copy would prevent you from connecting to the software repositories.


    Shuja Rehman

    Hi Ted
    Here are the answes

    1- I am trying to configure in Centos 6.3 64 bit VM. Once I will successfully able to do it then I will go to windows azure

    2- HDP.repo file contains following


    3- Centos 6.3 64-bit


    Sasha J

    Looks like your repositories is not fully configured.
    You should have HDP-UTILS- repository.
    Please, check output of “yum repolist”

    Thank you!

    Shuja Rehman

    here is the output of yum repolist

    [root@localhost ~]# yum repolist
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    YumRepo Warning: Some mirror URLs are not using ftp, http[s] or file.
    YumRepo Warning: Some mirror URLs are not using ftp, http[s] or file.
    YumRepo Warning: Some mirror URLs are not using ftp, http[s] or file.
    * HDP-epel:
    * base:
    * epel:
    * extras:
    * updates:
    repo id repo name status
    HDP-1.3.0 HDP 53
    HDP-UTILS- Hortonworks Data Platform Utils Version – HDP-UTILS-1. 53
    HDP-epel HDP-epel 9,227
    Updates-ambari-1.x ambari-1.x – Updates 35
    ambari-1.x Ambari 1.x 5
    base CentOS-6 – Base 6,381
    epel Extra Packages for Enterprise Linux 6 – x86_64 9,227
    extras CentOS-6 – Extras 13
    updates CentOS-6 – Updates 924
    repolist: 25,918

    Sasha J

    In this case, it looks like network timeout.
    Just click “Retry”

    This happens sometimes,, as repository located in AWS and it may be too many requests to 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.