thrift2 server close the zookeeper session after ten minutes

2016-02-25 Thread 赵庆祥
Hi, I’m running a hbase-0.98.17-hadoop2 cluster. When I try load data by thrift2 api. I got follow error. Am i misconfig the server. It can reproduce on every trying. The zookeeper session was closed by client.HConnectionManager$HConnectionImplementation after the connection establis

Re: Compaction settings per table

2016-02-25 Thread Gaurav Agarwal
Thanks Enis! this is really helpful. I could not understand your second suggestion; could you please explain it a bit more? *For compaction and flush, we have a CompoundConfiguration* *that is a layered configuration of hbase-site.xml values ->* *HTD.getConfiguration() values -> HCD.getConfigurati

Re: Compaction settings per table

2016-02-25 Thread Enis Söztutar
For compaction configurations, you can also set it per table OR even per column family. In java, you can use HTableDescriptor.setConfiguration() or HColumnDescriptor.setConfiguration() to set the specific configuration values that overrides the ones set in hbase-site.xml. For compaction and flush

Re: Compaction settings per table

2016-02-25 Thread Gaurav Agarwal
Go the answer to memstore size per table via TableDescriptor#setMemStoreFlushSize(long) On Thu, Feb 25, 2016 at 5:38 PM, Gaurav Agarwal wrote: > In addition, is there a way to set memstore flush size per table/cf as > well? > > On Thu, Feb 25, 2016 at 5:20 PM, Gaurav Agarwal wrote: > >> Hi, >>

Re: Compaction settings per table

2016-02-25 Thread Gaurav Agarwal
In addition, is there a way to set memstore flush size per table/cf as well? On Thu, Feb 25, 2016 at 5:20 PM, Gaurav Agarwal wrote: > Hi, > > Is there a way to set Compaction configurations differently for each of my > table? Specifically, I want to tweak `hbase.hstore.compaction.min.size` > pa

Compaction settings per table

2016-02-25 Thread Gaurav Agarwal
Hi, Is there a way to set Compaction configurations differently for each of my table? Specifically, I want to tweak `hbase.hstore.compaction.min.size` parameter for one of my table while keeping it to its default value for others. --cheers, gaurav