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

disable table in HBaseTestingUtility.truncateTable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 1.3.0, 2.0.0
    • None
    • Reviewed

    Description

      Old truncate table expected table to be enabled and removed rows by scanning over them.
      In HBASE-13764, the function was changed to make it consistent with how shell worked, so new one used admin.truncateTable.
      Since HBTU.truncateTable expects table to be enabled (backward compat) whereas admin.truncateTable expects table to be disabled, we should add a disable table there.

      Attachments

        1. HBASE-15209-branch-1-v1.patch
          1 kB
          Apekshit Sharma
        2. HBASE-15209-branch-1-v2.patch
          1 kB
          Apekshit Sharma
        3. HBASE-15209-v1.patch
          1 kB
          Apekshit Sharma
        4. HBASE-15209-v2.patch
          1 kB
          Apekshit Sharma

        Activity

          People

            appy Apekshit Sharma
            appy Apekshit Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: