accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <ctubb...@apache.org>
Subject Re: utility to print Accumulo config (feedback appreciated)
Date Wed, 18 Dec 2013 22:25:54 GMT
There is no "accumulo-default.xml" file. ServerConfiguration may work,
but it will make assumptions... like that it has a hadoop
configuration and accumulo-site.xml in its path, so it can connect to
ZooKeeper and read key/values from there.

The Admin utility that dlmarion mentioned has similar requirements
about what is on the path.

--
Christopher L Tubbs II
http://gravatar.com/ctubbsii


On Tue, Dec 17, 2013 at 7:36 PM, Sujee Maniyam <sujee@sujee.net> wrote:
> Hi all
>
> Just wrote a tiny snippet to dump Accumulo config
>
> file :
> https://github.com/sujee/print-hadoop-config/blob/master/src/main/java/config/AccumuloConfig.java
>
> project : https://github.com/sujee/print-hadoop-config
>
>
> I am using 'ServerConfiguration.getSiteConfiguration();'
> is this the right way to get 'current' server config  (Default  + Site) ?
>
> thanks!
> Sujee Maniyam (http://sujee.net)

Mime
View raw message