hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Rodionov <vladrodio...@gmail.com>
Subject Re: understanding the executorService
Date Mon, 10 Aug 2015 22:02:18 GMT
You can use single (default) pool for connection in your application:

ConnectionFactory.createConnection(Configuration conf);

or, provide separate pool per connection:

ConnectionFactory.createConnection(Configuration conf, ExecutorService
pool);

or, provide dedicate pool for a specific table:

Connection conn = ...
conn.getTable( conf, pool);

That is up to you.

-Vlad

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