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:[email protected]] 
Sent: Tuesday, December 17, 2013 7:36 PM
To: [email protected]
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)

Reply via email to