Sergey Soldatov created HBASE-20621:
---------------------------------------

             Summary: 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


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)

Reply via email to