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 <[email protected]> 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)
