Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6363

HBaseConfiguration can carry a main method that dumps XML output for debug purposes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.94.0
    • 0.94.1, 0.95.0
    • util
    • None
    • Adds a main to HBaseConfiguration to dump out configs.

    Description

      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.

      Attachments

        1. HBASE-6363.patch
          0.8 kB
          Shane Huang
        2. HBASE-6363.2.patch
          0.7 kB
          Shane Huang

        Issue Links

          Activity

            People

              shane.huang Shane Huang
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: