Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20621

Unclear error for deleting from not existing table.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • Client
    • None

    Description

      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.

      Attachments

        Activity

          People

            mingdaoy Mingdao Yang
            sergey.soldatov Sergey Soldatov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: