[ https://issues.apache.org/jira/browse/HBASE-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418882#comment-13418882 ]
Harsh J commented on HBASE-6363: -------------------------------- Thanks again Shengsheng. The /dump servlet is more verbose than the simple XML given by /conf servlet. If its just config you need, /conf is where you need to go to, not /dump. But for the sake of debuggability, suggesting /dump in the javadoc does seem fine to do for HBase. I think the patch looks good. If needed, we can switch /dump with /conf (since we're discussing just configs, not env. info as well), but otherwise I think it does what the goal of this report was. Thanks again! > 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, noob > Attachments: HBASE-6363.2.patch, HBASE-6363.patch > > > 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