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

Test NamespaceAuditor/AccessController create/delete table is flaky

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • test
    • None

    Description

      Similar to HBASE-13179
      TestNamespaceAuditor and the two test AccessController fail when create or delete table takes more time.and it is because the sync version of the Admin operation is not sync, but relies on the last operation on the server e.g. delete meta.
      but the post-operation method of the coprocessor is called after meta is deleted..
      long story short, the client is not really sync and it will be fixed by HBASE-12439.

      similar to what we do in TestMasterObserver we can add an observer with a countDownLatch to wait the postOpHandler call.

      Attachments

        1. HBASE-13182-v0.patch
          18 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: