[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (HBASE-20621) Unclear error for deleting from not existing table.

Sergey Soldatov created HBASE-20621:

             Summary: Unclear error for deleting from not existing table. 
                 Key: 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 
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
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