Accumulo
  1. Accumulo
  2. ACCUMULO-58

Misconfigured aggregator can block table deletion

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: tserver
    • Labels:

      Description

      If you misconfigure an aggregator such that it can't be loaded, it will cause a tablet to indefinitely attempt to minor/major compact. If you attempt to delete the table with this problem the tablet will never break out of the compaction attempt to a point where it will detect it needs to delete. The only way to break out of the loop is kill any tservers who are hosting tablets attempts to be compacted. This definately exists in 1.3, fairly confident it affects the other versions as well. We would need to have the compaction loops check somehow to detect if the tablet needs to be deleted before reattempting.

      Additionally, a functional test should be written to exercise this error to prevent regression.

        Issue Links

          Activity

          Hide
          Keith Turner added a comment -

          I think minor compactions that fail, retry forever. Before retrying, could check the table state in zookeeper and abort if it is deleting.

          Show
          Keith Turner added a comment - I think minor compactions that fail, retry forever. Before retrying, could check the table state in zookeeper and abort if it is deleting.
          Hide
          Keith Turner added a comment -

          Another work around for this issue besides killing tablet servers is to remove the offending iterators/aggregators from the table being deleted.

          Show
          Keith Turner added a comment - Another work around for this issue besides killing tablet servers is to remove the offending iterators/aggregators from the table being deleted.

            People

            • Assignee:
              Keith Turner
              Reporter:
              John Vines
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development