You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mingdao Yang (JIRA)" <ji...@apache.org> on 2018/06/15 05:52:00 UTC
[jira] [Commented] (HBASE-20621) Unclear error for deleting from
not existing table.
[ https://issues.apache.org/jira/browse/HBASE-20621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513377#comment-16513377 ]
Mingdao Yang commented on HBASE-20621:
--------------------------------------
Hi everyone!
I'd like to take a stab at fixing it.
> 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
> 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)