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

IllegalArgumentException was thrown when doing online configuration change in CompactSplitThread

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Online configuration change is a terrific feature for HBase administrators. However, when we use this feature to tune compaction thread pool size online, it triggered a IllegalArgumentException. The cause is the order of setMaximumPoolSize() and setCorePoolSize() of ThreadPoolExecutor: when turning parameters bigger, we should setMax first; when turning parameters smaller, we need to setCore first. Besides, there is also a copy-code bug in merge and split thread pool which I will fix together.

      Attachments

        1. HBASE-14954-v1.patch
          9 kB
          Victor Xu

        Activity

          People

            victorunique Victor Xu
            victorunique Victor Xu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: