HDP on Linux – Installation Forum

Snappy Install Failed

  • #23925
    Modus Sphere

    I am having a problem install the snappy compression utilities. the Install is not able to find the proper .rpm files. Does anyone know how to resolve this issue? See the output below.

    [root@server yum.repos.d]# yum install snappy snappy-devel
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    * base: mirror.symnds.com
    * extras: mirrors.rit.edu
    * updates: mirrors.advancedhosters.com
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package snappy.x86_64 0:1.0.5-1.el5 will be installed
    —> Package snappy-devel.x86_64 0:1.0.5-1.el5 will be installed
    –> Finished Dependency Resolution

    Dependencies Resolved

    Package Arch Version Repository Size
    snappy x86_64 1.0.5-1.el5 HDP-UTILS- 37 k
    snappy-devel x86_64 1.0.5-1.el5 HDP-UTILS- 13 k

    Transaction Summary
    Install 2 Package(s)

    Total download size: 50 k
    Installed size: 110 k
    Is this ok [y/N]: y
    Downloading Packages:
    http://public-repo-1.hortonworks.com/HDP-UTILS- [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
    Trying other mirror.
    http://public-repo-1.hortonworks.com/HDP-UTILS- [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
    Trying other mirror.

    Error Downloading Packages:
    snappy-devel-1.0.5-1.el5.x86_64: failure: snappy/snappy-devel-1.0.5-1.el5.x86_64.rpm from HDP-UTILS- [Errno 256] No more mirrors to try.
    snappy-1.0.5-1.el5.x86_64: failure: snappy/snappy-1.0.5-1.el5.x86_64.rpm from HDP-UTILS- [Errno 256] No more mirrors to try.

to create new topics or reply. | New User Registration

  • Author
  • #23957
    Seth Lyubich

    Hi Modus,

    I just tested on my system and I was able to install snappy successfully. I think your issue is that your system tries to download snappy el5 rpm (snappy-1.0.5-1.el5.x86_64.rpm) from centos6 repo (repos/centos6/snappy). Did you try to set up repository for both centos 5 and 6?

    You can try to check yum for problems with ‘yum check’, and clean repositories with “yum clean all”.

    Hope this helps,


    Modus Sphere

    Thank you Seth. Yes we are trying to download the from the repository and the file is not being found. I will give your suggestions a try..

    Larry Liu

    Hi, Modus

    Did Seth’s suggestion work for you?


    Modus Sphere

    Yes it did. I was able to install without issue after running the commands. Thanks Seth.

    Seth Lyubich

    Hi Modus,

    Thanks for the following up and letting us know that issue is resolved.


    venu katragadda

    I have faced same problem, but its resolved … now

    During cluster install, DataNode fails to install with the following error:
    <pre class=”programlisting”>resource_management.core.exceptions.
    Fail: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install snappy-devel’ returned 1.
    Error: Package: snappy-devel-1.0.5-1.el6.x86_64 (HDP-UTILS-
    Requires: snappy(x86-64) = 1.0.5-1.el6
    Installed: snappy-1.1.0-3.el7.x86_64 (@anaconda/7.1)
    snappy(x86-64) = 1.1.0-3.el7
    Available: snappy-1.0.5-1.el6.x86_64 (HDP-UTILS-
    snappy(x86-64) = 1.0.5-1.el6
    Hadoop requires the snappy-devel package that is a lower version that what is on the machine already. Run the following on the host and retry.
    <pre class=”programlisting”>yum remove snappy
    yum install snappy-devel

    Now this problem will resolved.

You must be to reply to this topic. | Create Account

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.