accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dlmar...@comcast.net>
Subject RE: utility to print Accumulo config (feedback appreciated)
Date Wed, 18 Dec 2013 01:48:34 GMT
There is a dumpconfig command in 1.6.0. The source should help you:
https://github.com/apache/accumulo/blob/1.6.0-SNAPSHOT/server/base/src/main/
java/org/apache/accumulo/server/util/Admin.java. Look at the printConfig
method.

 

From: Sujee Maniyam [mailto:sujee@sujee.net] 
Sent: Tuesday, December 17, 2013 7:36 PM
To: user@accumulo.apache.org
Subject: utility to print Accumulo config (feedback appreciated)

 

Hi all

 

Just wrote a tiny snippet to dump Accumulo config

 

file :
https://github.com/sujee/print-hadoop-config/blob/master/src/main/java/confi
g/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