[ https://issues.apache.org/jira/browse/HBASE-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410285#comment-13410285 ]
Lars George commented on HBASE-6363: ------------------------------------ You could do the same using the HBase shell. Just type in {noformat} hbase(main):001:0> org.apache.hadoop.hbase.HBaseConfiguration.create.getProps.toString => "{hbase.online.schema.update.enable=false, hbase.master.port=60000, hbase.hstore.compaction.max=10, hbase.regionserver.port=60020, ipc.client.connect.max.retries.on.timeouts=45, hbase.zookeeper.dns.nameserver=default, hadoop.tmp.dir=/tmp/hadoop-${user.name}, hbase.rpc.engine=org.apache.hadoop.hbase.ipc.WritableRpcEngine, hbase.defaults.for.version.skip=false.... {noformat} > HBaseConfiguration can carry a main method that dumps XML output for debug > purposes > ----------------------------------------------------------------------------------- > > Key: HBASE-6363 > URL: https://issues.apache.org/jira/browse/HBASE-6363 > Project: HBase > Issue Type: Improvement > Components: util > Affects Versions: 0.94.0 > Reporter: Harsh J > Priority: Trivial > Labels: conf, newbie > > Just like the Configuration class carries a main() method in it, that simply > loads itself and writes XML out to System.out, HBaseConfiguration can use the > same kinda method. > That way we can do "hbase org.apache.hadoop.….HBaseConfiguration" to get an > Xml dump of things HBaseConfiguration has properly loaded. Nifty in checking > app classpaths sometimes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira