You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Benson Muite <be...@emailplus.org> on 2022/10/30 13:34:51 UTC

Using Arrow on RHEL/CentOS/Rocky and related linux distros

Arrow releases are distributed as an RPM package for these 
distributions.  However, many dependencies are bundled with the released 
RPMs, which may make using them in other software problematic.  Software 
collections[1] are similar to Python virtual envs for RPM based 
distributions.  They would enable unbundling dependencies and make it 
easier to build on top of Arrow releases for RHEL and related 
distributions. As an example Milvus uses Arrow, but releases of Arrow 
used often lag behind the latest Arrow release[2].  For those that 
use/build on top of RPM based distributions, would you consider 
using/building on top of an Arrow software collection?

1) https://www.softwarecollections.org/en/
2) 
https://github.com/milvus-io/milvus/blob/master/internal/core/thirdparty/arrow/CMakeLists.txt

Re: Using Arrow on RHEL/CentOS/Rocky and related linux distros

Posted by Benson Muite <be...@emailplus.org>.
On 11/2/22 10:32, Sutou Kouhei wrote:
> Hi,
> 
>> As an example Arrow is packaged in Fedora/EPEL. The spec file does not
>> bundle Abseil, thrift, gRPC,
>> https://src.fedoraproject.org/rpms/libarrow/blob/rawhide/f/libarrow.spec
> 
> Because Fedora ships recent Abseil, Thrift and gRPC. It
> doesn't use software collections, right?
> 
> It seems that software collections don't provide them:
> 
> https://www.softwarecollections.org/en/scls/?search=abseil
> https://www.softwarecollections.org/en/scls/?search=grpc
> 
> (Note that our RPMs already use system Thrift package.)
As a starting point for redistribution, will create a build on copr:
https://www.softwarecollections.org/en/docs/add-to-catalogue/
> 
> So it seems that software collections doesn't help us...
> 
> 
> Thanks,


Re: Using Arrow on RHEL/CentOS/Rocky and related linux distros

Posted by Sutou Kouhei <ko...@clear-code.com>.
Hi,

> As an example Arrow is packaged in Fedora/EPEL. The spec file does not
> bundle Abseil, thrift, gRPC,
> https://src.fedoraproject.org/rpms/libarrow/blob/rawhide/f/libarrow.spec

Because Fedora ships recent Abseil, Thrift and gRPC. It
doesn't use software collections, right?

It seems that software collections don't provide them:

https://www.softwarecollections.org/en/scls/?search=abseil
https://www.softwarecollections.org/en/scls/?search=grpc

(Note that our RPMs already use system Thrift package.)

So it seems that software collections doesn't help us...


Thanks,
-- 
kou

In <80...@emailplus.org>
  "Re: Using Arrow on RHEL/CentOS/Rocky and related linux distros" on Tue, 1 Nov 2022 09:54:37 +0300,
  Benson Muite <be...@emailplus.org> wrote:

> On 10/31/22 00:14, Sutou Kouhei wrote:
>> Hi,
>> Thanks for the suggestion. But what do we need to do for it?
>> For example, our RPMs for AlmaLinux 9 bundle the following
>> libraries:
>> https://github.com/ursacomputing/crossbow/actions/runs/3354778483/jobs/5558561346#step:6:463
>> * Protocol Buffers
>> * jemalloc
>> * mimalloc
>> * gRPC
>> * Abseil
>> * Google Could C++
>> * CRC32C
>> * ORC
> As an example Arrow is packaged in Fedora/EPEL. The spec file does not
> bundle Abseil, thrift, gRPC,
> https://src.fedoraproject.org/rpms/libarrow/blob/rawhide/f/libarrow.spec
> jemalloc is available in this ecosystem, but is not enabled in this
> build.
> 
> Using a software collection would enable much easier build deployment
> and customization.  In particular some of these packages follow a live
> at head philosophy and others do not, so what is packaged by the
> distribution may not have features used in Arrow.  A software
> collection would enable easy packaging of a tested combination.  It
> would also enable easy modification of selected components improving
> developer productivity since it would setup the development
> environment correctly and this would closely match the production
> environment.
> 

Re: Using Arrow on RHEL/CentOS/Rocky and related linux distros

Posted by Benson Muite <be...@emailplus.org>.
On 10/31/22 00:14, Sutou Kouhei wrote:
> Hi,
> 
> Thanks for the suggestion. But what do we need to do for it?
> 
> For example, our RPMs for AlmaLinux 9 bundle the following
> libraries:
> 
> https://github.com/ursacomputing/crossbow/actions/runs/3354778483/jobs/5558561346#step:6:463
> 
> * Protocol Buffers
> * jemalloc
> * mimalloc
> * gRPC
> * Abseil
> * Google Could C++
> * CRC32C
> * ORC
As an example Arrow is packaged in Fedora/EPEL. The spec file does not 
bundle Abseil, thrift, gRPC,
https://src.fedoraproject.org/rpms/libarrow/blob/rawhide/f/libarrow.spec
jemalloc is available in this ecosystem, but is not enabled in this build.

Using a software collection would enable much easier build deployment 
and customization.  In particular some of these packages follow a live 
at head philosophy and others do not, so what is packaged by the 
distribution may not have features used in Arrow.  A software collection 
would enable easy packaging of a tested combination.  It would also 
enable easy modification of selected components improving developer 
productivity since it would setup the development environment correctly 
and this would closely match the production environment.


Re: Using Arrow on RHEL/CentOS/Rocky and related linux distros

Posted by Sutou Kouhei <ko...@clear-code.com>.
Hi,

Thanks for the suggestion. But what do we need to do for it?

Our RPMs bundle many libraries as you said but our RPMs use
system packages including EPEL as much as possible.

For example, our RPMs for AlmaLinux 9 bundle the following
libraries:

https://github.com/ursacomputing/crossbow/actions/runs/3354778483/jobs/5558561346#step:6:463

* Protocol Buffers
* jemalloc
* mimalloc
* gRPC
* Abseil
* Google Could C++
* CRC32C
* ORC


Thanks,
-- 
kou

In <77...@emailplus.org>
  "Using Arrow on RHEL/CentOS/Rocky and related linux distros" on Sun, 30 Oct 2022 16:34:51 +0300,
  Benson Muite <be...@emailplus.org> wrote:

> Arrow releases are distributed as an RPM package for these
> distributions.  However, many dependencies are bundled with the
> released RPMs, which may make using them in other software
> problematic.  Software collections[1] are similar to Python virtual
> envs for RPM based distributions.  They would enable unbundling
> dependencies and make it easier to build on top of Arrow releases for
> RHEL and related distributions. As an example Milvus uses Arrow, but
> releases of Arrow used often lag behind the latest Arrow release[2].
> For those that use/build on top of RPM based distributions, would you
> consider using/building on top of an Arrow software collection?
> 
> 1) https://www.softwarecollections.org/en/
> 2)
> https://github.com/milvus-io/milvus/blob/master/internal/core/thirdparty/arrow/CMakeLists.txt