Home Forums HDP on Linux – Installation DataNode Installation Failed using Ambari

This topic contains 5 replies, has 3 voices, and was last updated by  Sasha J 1 year, 5 months ago.

  • Creator
    Topic
  • #28832

    Shuja Rehman
    Member

    HI
    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

    Thanks
    Shuja

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #29080

    Sasha J
    Moderator

    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….

    Sasha

    Collapse
    #29077

    Shuja Rehman
    Member

    Hi
    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.
    Eg. http://mirror.leapswitch.com/centos/6.4/os/x86_64/
    YumRepo Warning: Some mirror URLs are not using ftp, http[s] or file.
    Eg. http://mirror.leapswitch.com/centos/6.4/extras/x86_64/
    YumRepo Warning: Some mirror URLs are not using ftp, http[s] or file.
    Eg. http://mirror.leapswitch.com/centos/6.4/updates/x86_64/
    * HDP-epel: buaya.klas.or.id
    * base: centos-mirror.magsnet.net
    * epel: buaya.klas.or.id
    * extras: centos-mirror.magsnet.net
    * updates: centos-mirror.magsnet.net
    repo id repo name status
    HDP-1.3.0 HDP 53
    HDP-UTILS-1.1.0.15 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

    Collapse
    #29075

    Sasha J
    Moderator

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

    Thank you!
    Sasha

    Collapse
    #29063

    Shuja Rehman
    Member

    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

    [HDP-1.3.0]
    name=HDP
    baseurl=http://public-repo-1.hortonworks.com/HDP/centos6/1.x/GA/1.3.0.0
    path=/
    enabled=1
    gpgcheck=0

    3- Centos 6.3 64-bit

    Regards
    Shuja

    Collapse
    #28863

    tedr
    Moderator

    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.

    Thanks,
    Ted.

    Collapse
Viewing 5 replies - 1 through 5 (of 5 total)