Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> utility to print Accumulo config (feedback appreciated)


Copy link to this message
-
RE: utility to print Accumulo config (feedback appreciated)
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)

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB