[
https://issues.apache.org/jira/browse/HBASE-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418900#comment-13418900
]
Shengsheng Huang commented on HBASE-6363:
-----------------------------------------
Thanks very much for clarification Harsh. It seems /conf is only added into
Hadoop since release 0.21 (HADOOP-6408). As we're using hadoop v1 it didn't
work at our local cluster. We would consider adding HADOOP-6408 patch into our
local hadoop branch. After all, servlet config dump would contain all the
configuration changes in code. Anyway, do you think it worth a seperate servlet
to dump configuration as xml only? Or reorganize the dump output into more
consistent format to make it easier for automatic parsing?
> 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