Re: Time series scheme design

2015-07-01 Thread Sleiman Jneidi
ad > > > On Wed, Jul 1, 2015 at 2:17 PM, Stack wrote: > > > To add to Amandeep's pointer, this one is good for concerns modeling > > timeseries: > > https://cloud.google.com/bigtable/pdf/CloudBigtableTimeSeries.pdf > > > > St.Ack > > > > On Wed,

Re: Time series scheme design

2015-07-01 Thread Sleiman Jneidi
ed, 1 Jul 2015 at 7:57 pm Amandeep Khurana wrote: > Hi Sleiman > > Take a look at this for some ideas: > > http://0b4af6cdc2f0c5998459-c0245c5c937c5dedcca3f1764ecc9b2f.r43.cf2.rackcdn.com/9353-login1210_khurana.pdf > > -Amandeep > > On Wed, Jul 1, 2015 at 11:53 AM, Sleiman Jn

Time series scheme design

2015-07-01 Thread Sleiman Jneidi
Hello everyone, I am working on a scheme design for a time series database. Something very similar to Twitter where people can follow each other and see their posts. I've looked at opentsdb but I think my problem is more complicated because I don't have the leading "metricid" in the row key. I've m

Re: Reduce logging of HBaseTestingUtility(Silent mode?)

2015-02-19 Thread Sleiman Jneidi
makes sense. Cheers On Thu, Feb 19, 2015 at 8:30 PM, Sean Busbey wrote: > On Thu, Feb 19, 2015 at 2:20 PM, Sleiman Jneidi > wrote: > > > I usually have a class called BaseTest that every test class extends and > I > > configure me logging there. > >

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); } } On

Re: Re: Re: managing HConnection

2015-02-15 Thread Sleiman Jneidi
That's true, we can share the connection, but the problem is, HConnection implements Closeable, and hence its close method is public. If you share the same connection in your api, you always have to check if the current connection is closed before you return it to the client, check previous emails

Re: HBase Object Mapper

2015-02-15 Thread Sleiman Jneidi
Sleiman. > > Can you do a quick pros and cons to compare Gora, Kundera and yours? Might > help so see which one fits best for other people usecases? > > Thanks, > > JM > > 2015-02-15 9:49 GMT-05:00 Sleiman Jneidi : > > > Hi Guys, hope you all had a great weekend.

HBase Object Mapper

2015-02-15 Thread Sleiman Jneidi
Hi Guys, hope you all had a great weekend. Recently, I had to do a lot of HBase data access and I needed a mapper, but I didn't like any of the existing mappers (Gora, Kundera, etc.. ) maybe I am mistaken. I just needed a light weight and easy to use mapper. So I created one and put it on Github.

Re: Re: managing HConnection

2015-02-13 Thread Sleiman Jneidi
a single HConnection On Fri, Feb 13, 2015 at 11:12 AM, Serega Sheypak wrote: > What are you trying to achieve? > > 2015-02-13 12:36 GMT+03:00 Sleiman Jneidi : > > > To be honest guys I am still confused, especially that that HConnection > > implements Closeable and henc

Re: Streaming data to htable

2015-02-13 Thread Sleiman Jneidi
I would go with second option, HtableInterface.put(List). The first option sounds dodgy, where 5 minutes is a good time for things to go wrong and you lose your data On Fri, Feb 13, 2015 at 6:20 AM, hongbin ma wrote: > hi, > > I'm trying to use a htable to store data that comes in a streaming fa

Re: Re: managing HConnection

2015-02-13 Thread Sleiman Jneidi
To be honest guys I am still confused, especially that that HConnection implements Closeable and hence everyone has the right to close the connection. I wrote this code to manage connections but I am not sure about its correctness. private static class HConnectionProvider { private static HCo