[Gluster-infra] Fwd: Sqlite3 dependency for Data Tiering

Joseph Fernandes josferna at redhat.com
Wed Feb 18 10:06:25 UTC 2015


Hi,

The upcoming Data Tiering/Classification feature will be having a dependency on Sqlite3 rpms ( and devel rpms)

[root at josferna data-classification]# sqlite3 --version
3.8.6 2014-08-15 11:46:33 9491ba7d738528f168657adb43a198238abde19e

Can we have these installed in the Jenkins slaves.

Regards,
Joe

----- Forwarded Message -----
From: "Niels de Vos" <ndevos at redhat.com>
To: "Joseph Fernandes" <josferna at redhat.com>
Cc: "Justin Clift" <justin at gluster.org>, "gluster Devel" <gluster-devel at gluster.org>, "Kaleb KEITHLEY" <kkeithle at redhat.com>
Sent: Wednesday, February 18, 2015 1:32:02 PM
Subject: Re: Sqlite3 dependency for Data Tiering

On Tue, Feb 17, 2015 at 09:22:02PM -0500, Joseph Fernandes wrote:
> Then there will be two things 
> 1) Update the this page http://www.gluster.org/community/documentation/index.php/CompilingRPMS#Common_Steps
> i.e add yum install sqlite3-devel 

Yes, correct

> 2) Modify configure.ac to check if the sqlite3-devel packages are installed before make.

I've shared the attached patch with Dan a few weeks back. It should get
you started on the configure.ac and Makefile.am changes. The patch is
very rough, and likely needs some changes, but you should get the idea.
My preference would be to be able to have sqlite as optional dependency.
When the dependency is not available (and disabled on the ./configure
commandline), tiering would not get build at all. Enabling the feature
by default would be good, many users will be interested in it.

When tiering is enabled, it should get packaged in the glusterfs-server
RPM, and the dependency on libsqlite3.so.X should get automagically get
added while building the RPMs.

> Is there something I am missing?

The Jenkins slaves will need the sqlite3-devel package installed too.
Get in touch with the gluster-infra at gluster.org list to request
installation of the sqlite3-devel packages.

Cheers,
Niels

> 
> ~Joe 
> 
> ----- Original Message -----
> From: "Justin Clift" <justin at gluster.org>
> To: "Joseph Fernandes" <josferna at redhat.com>
> Cc: "gluster Devel" <gluster-devel at gluster.org>, "Kaleb KEITHLEY" <kkeithle at redhat.com>, "Niels de Vos" <ndevos at redhat.com>
> Sent: Wednesday, February 18, 2015 7:35:48 AM
> Subject: Re: Sqlite3 dependency for Data Tiering
> 
> On 18 Feb 2015, at 01:59, Joseph Fernandes <josferna at redhat.com> wrote:
> > Hi Guys,
> > 
> > The upcoming Data tiering/Classification feature has a dependency on Sqlite3 Devel packages.
> > Could you please suggest me, how do I include sqlite3 devel packages automatically in
> > the GlusterFS upstream code.
> 
> It'll be a dependency in the .rpm/.deb/etc won't it?
> 
> If so, it *should* (in theory) be reasonably simple. :)
> 
> + Justin
> 
> --
> GlusterFS - http://www.gluster.org
> 
> An open source, distributed file system scaling to several
> petabytes, and handling thousands of clients.
> 
> My personal twitter: twitter.com/realjustinclift
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-enable-disable-tiering-support.patch
Type: text/x-patch
Size: 8873 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-infra/attachments/20150218/7e046726/attachment-0001.bin>


More information about the Gluster-infra mailing list