hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heng Chen <heng.chen.1...@gmail.com>
Subject Re: open store and open storeFile use the same conf
Date Fri, 03 Jun 2016 06:33:38 GMT
They have different default values,  and according to contact of
HSTORE_OPEN_AND_CLOSE_THREADS_MAX,   i should be OK. It just represents the
max limit threads in pool.

/**
 * The default number for the max number of threads used for opening and
 * closing stores or store files in parallel
 */
public static final int DEFAULT_HSTORE_OPEN_AND_CLOSE_THREADS_MAX = 1;


2016-06-03 14:15 GMT+08:00 WangYQ <wangyongqiang0617@163.com>:

> in hbase 0.98.10, class HRegion, line 1277 to 1286:
> there are two methods: "getStoreOpenAndCloseThread" and
> "getStoreFileOpenAndCloseThreadPool", getStoreOpenAndCloseThread is to get
> the thread pool size for open/close Stores, and
> getStoreFileOpenAndCloseThreadPool is used to get pool size for open/close
> storeFiles, but they use the same conf: "HSTORE_OPEN_AND_CLOSE_THREADS_MAX".
>
>
> there shoud be no relation with store number and storeFile number, so we
> should use different conf for two methods
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message