You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by David Medinets <da...@gmail.com> on 2012/03/14 02:40:45 UTC

Missing Example Configuration Files?

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-env.sh.1GBstandalone-default-example
#{accumulo_conf}/accumulo-env.sh`
`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:

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

Re: Missing Example Configuration Files?

Posted by Billie J Rinaldi <bi...@ugov.gov>.
On Tuesday, March 13, 2012 9:40:45 PM, "David Medinets" <da...@gmail.com> 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-env.sh.1GBstandalone-default-example
> #{accumulo_conf}/accumulo-env.sh`
> `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-env.sh, 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.

Billie


> 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