accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billie J Rinaldi <>
Subject Re: Missing Example Configuration Files?
Date Wed, 14 Mar 2012 02:30:33 GMT
On Tuesday, March 13, 2012 9:40:45 PM, "David Medinets" <> wrote:
> The configuration directory used to have .example files for every
> configuration file. In a deployment script, I was using this Ruby
> code:
> `cp #{accumulo_conf}/slaves.example #{accumulo_conf}/slaves`
> `cp #{accumulo_conf}/masters.example #{accumulo_conf}/masters`
> `cp #{accumulo_conf}/
> #{accumulo_conf}/`
> `cp #{accumulo_conf}/accumulo-site.xml.1GBstandalone-example
> #{accumulo_conf}/accumulo-site.xml`
> `cp #{accumulo_conf}/accumulo-metrics.xml.example
> #{accumulo_conf}/accumulo-metrics.xml`
> However, those example files seem to have disappeared. I think the
> intention was to put them in conf/examples but that directory tree has
> no files. Here is the listing I see:

I believe the dist.xml file excludes any files named, accumulo-site.xml, slaves,
masters, monitor, tracers, and gc.  This is so that files with those names in the conf directory
don't get tarred up.  Previously we had example files with a .example extension, but we recently
switched to leaving off the .example and putting them in named subdirectories.  We should
change dist.xml so it still excludes those files in conf but includes the ones in the conf/examples/
directories listed below.  I'm not sure if testing produces those files in any other locations
that should be excluded.


> medined@bashi:~$ find accumulo-1.5.0-incubating-SNAPSHOT/conf/examples
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/512MB
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/512MB/native-standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/512MB/standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/1GB
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/1GB/native-standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/1GB/standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/2GB
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/2GB/native-standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/2GB/standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/3GB
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/3GB/native-standalone
> accumulo-1.5.0-incubating-SNAPSHOT/conf/examples/3GB/standalone

View raw message