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

HBase table truncate semantics seems broken as "disable" table is now async by default.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0, 0.92.0
    • None
    • None
    • RHEL5 x86_64

    Description

      The new async design for disable table seems to have caused a side effect on the truncate command. (IRC chat with jdcryans)

      Apparent Cause:
      "Disable" is now async by default. When truncate is called, the disable operation returns immediately and when the drop is called, the disable operation is still not completed. This results in HMaster.checkTableModifiable() throwing a TableNotDisabledException.

      With earlier versions, disable returned only after Table was disabled.

      Attachments

        Activity

          People

            stack Michael Stack
            svarma Suraj Varma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: