hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14482) Update BUILDING.txt to include the correct steps to install zstd library
Date Fri, 02 Jun 2017 18:37:04 GMT
Wei-Chiu Chuang created HADOOP-14482:
----------------------------------------

             Summary: Update BUILDING.txt to include the correct steps to install zstd library
                 Key: HADOOP-14482
                 URL: https://issues.apache.org/jira/browse/HADOOP-14482
             Project: Hadoop Common
          Issue Type: Improvement
          Components: io
    Affects Versions: 3.0.0-alpha2
            Reporter: Wei-Chiu Chuang
            Priority: Minor


The current BUILDING.txt includes the following steps for installing zstd library:
    $ sudo apt-get install zstd

This is incorrect. On my Ubuntu machine, zstd is not a library
{quote}
apt-cache search zstd
libzstd-dev - fast lossless compression algorithm -- development files
libzstd0 - fast lossless compression algorithm
zstd - fast lossless compression algorithm -- CLI tool
{quote}
In fact, to build Hadoop with ZStandard library, I have to install libzstd-dev.
I will also need to install the runtime to use it. libzstd0 is the older version. libzstd1
is for zstd 1.x. It's not clear to me if libzstd0 is compatible. CentOS does have libzstd1
though.

{quote}
  * Use -Dzstd.prefix to specify a nonstandard location for the libzstd
    header files and library files. You do not need this option if you have
    installed zstandard using a package manager.

  * Use -Dzstd.lib to specify a nonstandard location for the libzstd library
    files.  Similarly to zstd.prefix, you do not need this option if you have
    installed using a package manager.
{quote}
At least for CentOS, the library installed by rpm was not located and I had to specify -Dzstd.prefix
to get it installed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message