Re: HConnection thread waiting on blocking queue indefinitely

2015-06-09 Thread mukund murrali
Kindly look into this for full trace of RS. http://pastebin.com/VS17vVd8 Thanks On Wed, Jun 10, 2015 at 11:35 AM, Ted Yu wrote: > Can you pastebin the complete stack trace for the region server ? > > Thanks > > > > > On Jun 9, 2015, at 10:52 PM, mukund murrali > wrote: > > > > We are using HBa

Re: HConnection thread waiting on blocking queue indefinitely

2015-06-09 Thread Ted Yu
Can you pastebin the complete stack trace for the region server ? Thanks > On Jun 9, 2015, at 10:52 PM, mukund murrali wrote: > > We are using HBase-1.0.0. Just before the client stalled, in RS there were > few handler threads that were blocked for MVCC(thread stack below) check. > Not sure

Re: HConnection thread waiting on blocking queue indefinitely

2015-06-09 Thread mukund murrali
We are using HBase-1.0.0. Just before the client stalled, in RS there were few handler threads that were blocked for MVCC(thread stack below) check. Not sure if it could cause a problem. I don't see anything unusual in RS threads. Also the same client can connect to regionserver after restart. At

Potential issue with ExploringCompactionPolicy

2015-06-09 Thread Vladimir Rodionov
Repost from hbase-dev (for some reasons, it did not go through): Hi, folks This is from HBase book: hbase.hstore.compaction.min.size Description A StoreFile smaller than this size will always be eligible for minor compaction. HFiles this size or larger are evaluated by hbase.hstore.compaction.ra

How to make the client fast fail

2015-06-09 Thread PRANEESH KUMAR
Hi, I have got the Connection object with default configuration, if the zookeeper or HMaster or Region server is down, the client didn't fast fail and it took almost 20 mins to thrown an error. What is the best configuration to make the client fast fail. Also what is significance of changing the

Re: HBase shell providing wrong results with startrow(with composite key having String and Ints)

2015-06-09 Thread Ted Yu
bq. if we have to match against non-string data in hbase shell. We should always use double quotes? I think so. bq. Even for matching values of cells? Did you mean through use of some Filter ? Cheers On Mon, Jun 8, 2015 at 10:27 PM, anil gupta wrote: > So, if we have to match against non-str

HBase Meetup Tokyo Summer 2015, Jun. 25

2015-06-09 Thread Daisuke Kobayashi
Hi HBasers, I'm happy to announce that a middle size of HBase meetup will be held in Tokyo this month! http://www.zusaar.com/event/14057003 There will be 5 exciting HBase usecases as follows: CyberAgent: Graph database https://www.cyberagent.co.jp/en/ LINE: Messaging service http://line.me/en/

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Jerry Lam
Done. Thanks everyone for confirming this! HBASE-13881 https://issues.apache.org/jira/browse/HBASE-13881 On Tue, Jun 9, 2015 at 7:09 PM, Ted Yu wrote: > Did a quick search in HBase JIRA - no hit. > > Jerry: > Mind logging one ? > > Thanks > > On Tue, Jun 9, 2015 at 3:30 PM, Andrew Purtell > wr

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Ted Yu
Did a quick search in HBase JIRA - no hit. Jerry: Mind logging one ? Thanks On Tue, Jun 9, 2015 at 3:30 PM, Andrew Purtell wrote: > Is there a JIRA for this? > > On Tue, Jun 9, 2015 at 11:15 AM, Ted Yu wrote: > > > Seems a bug to me w.r.t. interpretation of writeToWAL > > > > Cheers > > > > O

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Andrew Purtell
Is there a JIRA for this? On Tue, Jun 9, 2015 at 11:15 AM, Ted Yu wrote: > Seems a bug to me w.r.t. interpretation of writeToWAL > > Cheers > > On Tue, Jun 9, 2015 at 10:50 AM, Jerry Lam wrote: > > > Hi Vlad, > > > > I copied the code from HBase version 1.0.0. > > I first noticed it in version

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Ted Yu
Seems a bug to me w.r.t. interpretation of writeToWAL Cheers On Tue, Jun 9, 2015 at 10:50 AM, Jerry Lam wrote: > Hi Vlad, > > I copied the code from HBase version 1.0.0. > I first noticed it in version 0.98.6. > > We have codes that use HBase since 0.92. So some of the codes have not been > por

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Jerry Lam
Hi Vlad, I copied the code from HBase version 1.0.0. I first noticed it in version 0.98.6. We have codes that use HBase since 0.92. So some of the codes have not been ported to the latest version therefore they are still using the deprecated methods. The reason I'm asking is because I don't know

Re: Iterate hbase resultscanner

2015-06-09 Thread Devaraja Swami
Beeshma, HBase recycles the same Result instance in the ResultScanner iterator, to save on memory allocation costs. With each iteration, you get the same Result object reference, re-populated internally by HBase with the new values for each iteration. If you add the Result loop variable instance t

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Ted Yu
I see code in this formation in 0.98 branch. Looking at the unit tests which exercise incrementColumnValue(), they all call: public long incrementColumnValue(final byte [] row, final byte [] family, final byte [] qualifier, final long amount) Possibly because the one mentioned by Jerry is

Re: Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Vladimir Rodionov
Hi, Jerry Which version of HBase is it? -Vlad On Tue, Jun 9, 2015 at 8:05 AM, Jerry Lam wrote: > Hi HBase community, > > Can anyone confirm that the method incrementColumnValue is implemented > correctly? > > I'm talking about mainly the deprecated method: > > @Deprecated > > @Override > >

Potential bugs in HTable In incrementColumnValue method

2015-06-09 Thread Jerry Lam
Hi HBase community, Can anyone confirm that the method incrementColumnValue is implemented correctly? I'm talking about mainly the deprecated method: @Deprecated @Override public long incrementColumnValue(final byte [] row, final byte [] family, final byte [] qualifier, final long

Re: HConnection thread waiting on blocking queue indefinitely

2015-06-09 Thread Anoop John
Can you see at this time, what the threads at RS doing? Handlers mainly.. which version oh hbase? On Tuesday, June 9, 2015, mukund murrali wrote: > Hi > > I wrote a sample program with default client configurations and created a > single connection. I spawn client threads > hbase.hconnection.thre

Re: Hbase Timestamp Queries

2015-06-09 Thread Ted Yu
Is HBaseStorage class in hbase repo ? I can't find it in 0.98 or hbase-1 branches. Cheers On Tue, Jun 9, 2015 at 3:51 AM, Krishna Kalyan wrote: > Yes you can. Have a look at the HBaseStorage class. > On 9 Jun 2015 1:04 pm, "Talat Uyarer" wrote: > > > Hi, > > > > Can I use HBase's timestamps t

Re: Hbase Timestamp Queries

2015-06-09 Thread Krishna Kalyan
Yes you can. Have a look at the HBaseStorage class. On 9 Jun 2015 1:04 pm, "Talat Uyarer" wrote: > Hi, > > Can I use HBase's timestamps to gettting rows greater/smaller than > this timestamp . Is it possible ? > > Thanks > > -- > Talat UYARER > Websitesi: http://talat.uyarer.com > Twitter: http:/

Hbase Timestamp Queries

2015-06-09 Thread Talat Uyarer
Hi, Can I use HBase's timestamps to gettting rows greater/smaller than this timestamp . Is it possible ? Thanks -- Talat UYARER Websitesi: http://talat.uyarer.com Twitter: http://twitter.com/talatuyarer Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304