Skip to contentSkip to conversation

new structure: "hail" pkg instead of cld, chunkd

RFC Jeff Garzik 3 participants 4 messages Jun 29, 2010 – Jul 1, 2010

lore
Share & tools
lore
#0 lore raw

I've been thinking about a new structure for the projects, namely having a single "hail" or "hail-core" package, that includes cld and chunkd services, and associated client libraries inside a new libhail.

In real terms, it would look like this:

	cld		-> hail
	libcldc		-> libhail, libhail-devel
	chunkd		-> hail
	libchunkdc	-> libhail, libhail-devel

	tabled		-> tabled (no change)
	libhttpstor	-> libhail, libhail-devel
	itd		-> itd (no change)
	nfs4d		-> nfs4d (no change)

Core services (cld, chunkd), their associated client libs (libcldc, libchunkdc), and other useful common routines (libhttpstor) would find a new home in the hail RPM, providing cld, chunkd and libhail.

tabled, itd and nfs4d are consider hail applications, and live in their own separate packages, BuildRequire-ing the core hail packages.

I think this new organization will be more useful to both developers and future users. For developers, changing the core services, and packaging commonly reused routines is easier. For users, the core services and application separation is more clear, IMO easier to understand at a glance.

Comments?

Jeff

#1 lore raw
Quoted 3 lines · On Tue, 29 Jun 2010 16:56:52 -0400 Jeff Garzik <[email protected]> wrote:

I've been thinking about a new structure for the projects, namely having a single "hail" or "hail-core" package, that includes cld and chunkd services, and associated client libraries inside a new libhail.

It seems a little pointless to me to carry cld on all chunk nodes, of which we may have thousands. But of course this is exactly the situation today, because cld clients need the libraries, so at least you aren't making it worse. If you had hail-libs, it would make more sense, IMHO.

Quoted 11 lines

In real terms, it would look like this:

	cld		-> hail
	libcldc		-> libhail, libhail-devel
	chunkd		-> hail
	libchunkdc	-> libhail, libhail-devel

	tabled		-> tabled (no change)
	libhttpstor	-> libhail, libhail-devel
	itd		-> itd (no change)
	nfs4d		-> nfs4d (no change)

So I would rather see this:

cld -> cld (or hail, whatever)
libcldc -> hail-libs
ncld.h -> hail-devel
libchunkdc -> hail-libs
chunkd -> chunkd or hail
chunkc.h -> chunkd-devel or hail-devel
etc.

Quoted 4 lines

I think this new organization will be more useful to both developers and future users. For developers, changing the core services, and packaging commonly reused routines is easier. For users, the core services and application separation is more clear, IMO easier to understand at a glance.

Right, we had a few common things, that are replicated needlessly.

-- Pete

#2 lore raw
In reply to Jeff Garzik
Quoted 7 lines · Pete Zaitcev
Quoted 3 lines · On Tue, 29 Jun 2010 16:56:52 -0400 Jeff Garzik <[email protected]> wrote:

I've been thinking about a new structure for the projects, namely having a single "hail" or "hail-core" package, that includes cld and chunkd services, and associated client libraries inside a new libhail.

Quoted 5 lines

It seems a little pointless to me to carry cld on all chunk nodes, of which we may have thousands. But of course this is exactly the situation today, because cld clients need the libraries, so at least you aren't making it worse. If you had hail-libs, it would make more sense, IMHO.

My message should have separated the concepts of "distribution tarball" and "rpm" more cleanly.

To clarify my proposal, and taking into account your comments and some refinements, I think the following should occur at the git repository
+ source tarball level:

    cld/* -> hail
    chunkd/* -> hail

Thus you would download and build hail-0.1.tar.gz. hail-0.1.tar.gz would be packaged as hail-0.1.src.rpm.  Building hail-0.1.src.rpm produces the following rpms:

    libhail (httpstor, cldc, chunkdc, tcp_write, timers, other?) libhail-devel (*.h, api docs)
    cld
    chunkd

I think having the source code for "core Hail" living in a single repository and source tarball will be useful.  But this allows one to install avoid installing unnecessary services.

Regards,

    Jeff

#3 lore raw
Quoted 7 lines · On Thu, 1 Jul 2010 18:58:18 -0400 Jeff Garzik <[email protected]> wrote:

To clarify my proposal, and taking into account your comments and some refinements, I think the following should occur at the git repository
+ source tarball level:

    cld/* -> hail
    chunkd/* -> hail

Quoted 8 lines

Thus you would download and build hail-0.1.tar.gz. hail-0.1.tar.gz would be packaged as hail-0.1.src.rpm.  Building hail-0.1.src.rpm produces the following rpms:

    libhail (httpstor, cldc, chunkdc, tcp_write, timers, other?) libhail-devel (*.h, api docs)
    cld
    chunkd

Sounds fine to me. We already have an unofficial unification with timers, so might as well take advantage of it. Also it addresses Darcy's request to make httpstor available. Although purely aesthetically it seems strange to have the library but not its server, it reflects the nature of tabled as a siamese twin of Hail core.

-- Pete