You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars George (JIRA)" <ji...@apache.org> on 2011/06/23 23:30:47 UTC

[jira] [Updated] (HBASE-4023) print out hbase configuration properties in hbase shell if -d (--debug) is supplied

     [ https://issues.apache.org/jira/browse/HBASE-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars George updated HBASE-4023:
-------------------------------

    Attachment: HBASE-4023.patch

I tried this patch, put the printout is bad. We need someone with Ruby 1337 to make this pretty. Also, we should make this a function and call it in 'debug' too.

> print out hbase configuration properties in hbase shell if -d (--debug) is supplied
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-4023
>                 URL: https://issues.apache.org/jira/browse/HBASE-4023
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Priority: Minor
>         Attachments: HBASE-4023.patch
>
>
> hbase shell --debug should show configuration information to help debug client-side problems.
> As Lars George says, "puts @hbase.configuration.getProps() if @DEBUG" should work, along with "some ruby mangling to print [the properties] line by line".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira