[
https://issues.apache.org/jira/browse/HBASE-19775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323072#comment-16323072
]
Josh Elser commented on HBASE-19775:
------------------------------------
If it were me, I'd turn it into a oneline thing, but it's semantically
equivalent and maybe just my take :)
{code}
cause = cause.getCause() if cause.is_a? java.io.UncheckedIOException
{code}
We do have some Ruby tests in hbase-shell/src/test/ruby (invoked via some JUnit
tests e.g. hbase-shell/src/test/java/**/TestShell.java). What was the context
in which you saw this UncheckedIOException -- something we could reproduce
easily?
[~mdrob] has been in here recently too. Maybe he can drop a review :)
> hbase shell doesn't handle the exceptions that are wrapped in
> java.io.UncheckedIOException
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-19775
> URL: https://issues.apache.org/jira/browse/HBASE-19775
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 2.0.0-beta-1
> Reporter: Sergey Soldatov
> Assignee: Sergey Soldatov
> Fix For: 2.0.0-beta-1
>
> Attachments: HBASE-19775-branch-2.patch
>
>
> HBase shell doesn't have a notion of UncheckedIOException, so it may not
> handle it correctly. For an example, if we scan not existing table the error
> look weird:
> {noformat}
> hbase(main):001:0> scan 'a'
> ROW
> COLUMN+CELL
> ERROR: a
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)