Richard Wise created HBASE-23204: ------------------------------------ Summary: Increase readability of any Java exceptions thrown in hbase shell Key: HBASE-23204 URL: https://issues.apache.org/jira/browse/HBASE-23204 Project: HBase Issue Type: Improvement Components: shell Affects Versions: 1.2.0 Environment: Windows 7, HBase 1.2.0-cdh5.16.1 Reporter: Richard Wise
There are multiple problems that can cause the hbase shell to fail with the following logs: {noformat} NativeException: java.io.IOException: java.lang.reflect.InvocationTargetException{noformat} 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 -- This message was sent by Atlassian Jira (v8.3.4#803005)