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

Provide a fast mechanism for shutting down mini cluster

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.2.0, 2.0.3, 2.1.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The current mechanism of shutting down a mini cluster through HBaseTestingUtility.shutDownMiniCluster can take a lot of time when the mini cluster almost has a lot of tables. A lot of this time is spent in closing all the user regions. It would be nice to have a mechanism where this shutdown can happen quickly without having to worry about closing these user regions. At the same time, this mechanism would need to make sure that all the critical system resources like file handles and network ports are still released so that subsequently initialized mini clusters on the same JVM or system won't run into resource issues. This would make testing using HBase mini clusters much faster and immensely help out test frameworks of dependent projects like Phoenix.

        Attachments

        1. HBASE-18735.v01.patch
          10 kB
          Artem Ervits
        2. HBASE-18735.v02.patch
          25 kB
          Artem Ervits
        3. HBASE-18735.v03.patch
          5 kB
          Artem Ervits

          Activity

            People

            • Assignee:
              dbist13 Artem Ervits
              Reporter:
              samarthjain Samarth Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: