Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4835

Client should throw TableNotFoundException

    XMLWordPrintableJSON

Details

    Description

      I saw this misleading exception throw while running randomwalk during the concurrent OfflineTable node:
      Caused by: org.apache.accumulo.core.client.AccumuloException: Unexpected table state g0 DELETING != ONLINE
      at org.apache.accumulo.core.client.impl.TableOperationsImpl.waitForTableStateTransition(TableOperationsImpl.java:1072)
      at org.apache.accumulo.core.client.impl.TableOperationsImpl.online(TableOperationsImpl.java:1240)
      at org.apache.accumulo.test.randomwalk.concurrent.OfflineTable.visit(OfflineTable.java:47)

      The table was in the process of being deleted so a TableNotFoundException would be more helpful.

      Attachments

        Issue Links

          Activity

            People

              milleruntime Michael Miller
              milleruntime Michael Miller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m