HBase mttr

2015-02-19 Thread Serega Sheypak
Hi, we are running HBase on super-low-cost HW :) Sometimes random node goes down. And HBase needs a time to move regions from failed RS. What are the practices to: 1. minimize MTTR? 2. is there any possibility to gracefully handle situation when region is not accessible for r/w? I can just drop

Re: Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread Sleiman Jneidi
I usually have a class called BaseTest that every test class extends and I configure me logging there. public class BaseTest { @BeforeClass public static void init(){ BasicConfigurator.configure(); org.apache.log4j.Logger.getRootLogger().setLevel(Level.ERROR); } }

Re: Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread Sean Busbey
On Thu, Feb 19, 2015 at 2:20 PM, Sleiman Jneidi jneidi.slei...@gmail.com wrote: I usually have a class called BaseTest that every test class extends and I configure me logging there. public class BaseTest { @BeforeClass public static void init(){

Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread anil gupta
Hi All, I am using HBaseTestingUtility for JUnits of my HBase code. When HBaseTestingUtility runs, it prints thousands of lines of logs on console(along with some catched execptions). More than 99% of time these logs are irrelevant. Is there a way to suppress these logs in HBasetestingutility?

Re: Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread Sean Busbey
Hi Anil! You can control what gets logged by selectively changing log levels in your log4j.properties file for tests. For some suggestions, check out the one used in hbase-server/src/test/resources/log4j.properties [1]: 57

Re: Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread anil gupta
Hi Sean, That was super helpful. Thanks for quick turnaround. ~Anil On Thu, Feb 19, 2015 at 11:52 AM, Sean Busbey bus...@cloudera.com wrote: Hi Anil! You can control what gets logged by selectively changing log levels in your log4j.properties file for tests. For some suggestions, check out

Re: unable to create a table in HBase

2015-02-19 Thread Srikanth Srungarapu
Looks like the master server isn't running or has some problems coming up. Did you try looking in master logs, generally located in logs directory? On Wed, Feb 18, 2015 at 11:24 PM, Ananya Chandraker ananya.chandra...@affineanalytics.com wrote: Hi All, I triggered the below command:

HBase JMX long running mertics raw values

2015-02-19 Thread Vladimir Tretyakov
Hi, I have one question about HBase metrics, some of them has format like this: QueueCallTime_num_ops java.lang.Long = 153192 QueueCallTime_min java.lang.Long = 0 QueueCallTime_max java.lang.Long = 70 QueueCallTime_mean java.lang.Double = 0.15878766515222728 I assume that all these metrics will

Re: Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread anil gupta
Thanks for additional suggestion, Sleiman. On Thu, Feb 19, 2015 at 12:32 PM, Sleiman Jneidi jneidi.slei...@gmail.com wrote: makes sense. Cheers On Thu, Feb 19, 2015 at 8:30 PM, Sean Busbey bus...@cloudera.com wrote: On Thu, Feb 19, 2015 at 2:20 PM, Sleiman Jneidi jneidi.slei...@gmail.com

Re: URISyntaxException for HFile

2015-02-19 Thread Ted Yu
I tried the following command on a 1.0 cluster (with hadoop 2.6.0): hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f hdfs://host:8020/apps/hbase/data/data/default/IntegrationTestBigLinkedList/ff8057539592353c32abb28dcb77dae5/meta/bc21d67076ae4976982babdca66754a1 Here is the tail of

Re: [ANNOUNCE] Apache Gora 0.6 Released

2015-02-19 Thread Talat Uyarer
Congras! On Feb 20, 2015 2:59 AM, Lewis John Mcgibbney lewis.mcgibb...@gmail.com wrote: Hi Folks, The Apache Gora team are pleased to announce the immediate availability of Apache Gora 0.6. This release addresses a modest 47 issues http://s.apache.org/gora-0.6 with some being major

Re: HBase mttr

2015-02-19 Thread Ted Yu
Have you read '9.3.4. Better Mean Time to Recover (MTTR)' under http://hbase.apache.org/book.html#important_configurations ? For #2, can you take a look at https://issues.apache.org/jira/browse/HBASE-10070 ? Cheers On Thu, Feb 19, 2015 at 12:46 AM, Serega Sheypak serega.shey...@gmail.com wrote:

URISyntaxException for HFile

2015-02-19 Thread Krishna
Hi, I'm getting this strange error when trying to view the contents of HFile. What is wrong here? Thanks for the help. $ hbase org.apache.hadoop.hbase.io.hfile.HFile -v -p -m -f hdfs://ip:8020/hbase/data/default/tablename/dir/cf/hfilename Exception in thread main

[ANNOUNCE] Apache Gora 0.6 Released

2015-02-19 Thread Lewis John Mcgibbney
Hi Folks, The Apache Gora team are pleased to announce the immediate availability of Apache Gora 0.6. This release addresses a modest 47 issues http://s.apache.org/gora-0.6 with some being major improvements, new functionality and dependency upgrades. Most notably the release involves key