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

Increase readability of any Java exceptions thrown in hbase shell

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • shell
    • None
    • Windows 7, HBase 1.2.0-cdh5.16.1

    Description

      There are multiple problems that can cause the hbase shell to fail with the following logs:

      NativeException: java.io.IOException: java.lang.reflect.InvocationTargetException

      And a ruby stack trace ending in hirb.rb:131 (which constructs the HBase client).

      There is no information about the Java exceptions (e.g. message or stack trace) that allows the error to be debugger (even enabling debug logging does not show any more information), so the current way to debug is to reproduce the issue using the Java client to see the stack trace. This is clearly a very inefficient approach and would be resolved by including Java exception message information in the logs.

       

      Examples of issues that can cause this can be found at https://stackoverflow.com/q/40962383/323177

      Attachments

        Activity

          People

            Unassigned Unassigned
            Woodz Richard Wise
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: