This directory is used by the RegionServers durring compactions to store
intermediate data. See:
$ git grep 'hbase.tmp.dir'
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionTool.java:
private final static String CONF_TMP_DIR = "hbase.tmp.dir";
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java:
final Path logdir = new Path(c.get("hbase.tmp.dir"));
...
Both of these uses indicate that it is a single path. I imagine you'd get
exceptions if you attempted to feed it a comma-delimited list of paths.
-n
On Mon, Dec 17, 2012 at 3:19 PM, anil gupta <[email protected]> wrote:
> Hi All,
>
> I am trying to figure out the exact roll of "hbase.tmp.dir" in HBase but i
> could not find any detailed reference on HBase wiki and mailing list
> archives. Can anybody tell me for which purpose hbase.tmp.dir is used? Is
> it a comma separated value that can take multiple directories? Any
> reference document on it would be highly appreciated?
>
> --
> Thanks & Regards,
> Anil Gupta
>