HBase
  1. HBase
  2. HBASE-5584

Coprocessor hooks can be called in the respective handlers

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.0
    • Component/s: Coprocessors
    • Labels:
      None

      Description

      Following points can be changed w.r.t to coprocessors

      -> Call preCreate, postCreate, preEnable, postEnable, etc. in their respective handlers
      -> Currently it is called in the HMaster thus making the postApis async w.r.t the handlers
      -> Similar is the case with the balancer.

      with current behaviour once we are in the postEnable(for eg) we any way need to wait for the main enable handler to
      be completed.
      We should ensure that we dont wait in the main thread so again we need to spawn a thread and wait on that.
      On the other hand if the pre and post api is called on the handlers then only that handler thread will be
      used in the pre/post apis

      If the above said plan is ok i can prepare a patch for all such related changes.

      1. HBASE-5584-3.patch
        64 kB
        ramkrishna.s.vasudevan
      2. HBASE-5584-2.patch
        65 kB
        ramkrishna.s.vasudevan
      3. HBASE-5584-1.patch
        64 kB
        ramkrishna.s.vasudevan
      4. HBASE-5584.patch
        64 kB
        ramkrishna.s.vasudevan
      5. HBASE-5584_Security_addendum.patch
        3 kB
        ramkrishna.s.vasudevan

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            ramkrishna.s.vasudevan
            Reporter:
            ramkrishna.s.vasudevan
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development