[
https://issues.apache.org/jira/browse/HBASE-20621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514051#comment-16514051
]
Josh Elser commented on HBASE-20621:
------------------------------------
[~mingdaoy], cool! [~sergey.soldatov], were you working on this already?
Just want to make sure we don't have two folks trying to do the same thing.
> Unclear error for deleting from not existing table.
> ----------------------------------------------------
>
> Key: HBASE-20621
> URL: https://issues.apache.org/jira/browse/HBASE-20621
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 2.0.0
> Reporter: Sergey Soldatov
> Assignee: Mingdao Yang
> Priority: Major
>
> When I try to delete a row from a not existing table, the error is quite
> confusing. Instead of getting a table not found exception I got
> {noformat}
> ERROR [main] client.AsyncRequestFutureImpl: Cannot get replica 0 location for
> {"totalColumns":1,"row":"r1","families":{"c1":[{"qualifier":"","vlen":0,"tag":[],"timestamp":9223372036854775807}]},"ts":9223372036854775807}
> ERROR: Failed 1 action: t1: 1 time, servers with issues: null
> {noformat}
> That happens, because delete is using AsyncRequestFuture which wraps all
> region location errors into 'Cannot get replica' error. I expect that others
> actions like batch, mutateRow, checkAndDelete behave in the same way.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)