Re: How would you model this in Hbase?

2013-02-06 Thread Ulrich Staudinger
> On 02/06/2013 01:49 PM, Michael Segel wrote: > >> Overloading the time stamp aka the versions of the cell is really not a >> good idea. >> >> Fully agree. > Yeah, I know opinions are like A everyone has one. ;-) >> >> Yeah, but some people share one. > But you have to be aware that if

Re: [ANNOUNCE] New Apache HBase Committer - Devaraj Das

2013-02-06 Thread Lars George
Congrats! Welcome aboard. On Feb 7, 2013, at 6:19, Ted Yu wrote: > Hi, > We've brought in one new Apache HBase Committer: Devaraj Das. > > On behalf of the Apache HBase PMC, I am excited to welcome Devaraj as > committer. > > He has played a key role in unifying RPC engines for 0.96 > He fixe

Re: How would you model this in Hbase?

2013-02-06 Thread Ulrich Staudinger
Why don't you simply identify the six different types of information per number: - figure name (unemployment) - month (reporting) - release date - figure - revision date - revised figure the key would be: _ en voila. I strongly advise against "overloading" the timestamping/versioning feature of

Re: [ANNOUNCE] New Apache HBase Committer - Devaraj Das

2013-02-06 Thread ramkrishna vasudevan
Hearty congratulations Deva!!! Regards Ram On Thu, Feb 7, 2013 at 10:53 AM, Azuryy Yu wrote: > congratulation, Devaraj ! > > > On Thu, Feb 7, 2013 at 1:19 PM, Ted Yu wrote: > > > Hi, > > We've brought in one new Apache HBase Committer: Devaraj Das. > > > > On behalf of the Apache HBase PMC, I

Re: [ANNOUNCE] New Apache HBase Committer - Devaraj Das

2013-02-06 Thread Azuryy Yu
congratulation, Devaraj ! On Thu, Feb 7, 2013 at 1:19 PM, Ted Yu wrote: > Hi, > We've brought in one new Apache HBase Committer: Devaraj Das. > > On behalf of the Apache HBase PMC, I am excited to welcome Devaraj as > committer. > > He has played a key role in unifying RPC engines for 0.96 > H

[ANNOUNCE] New Apache HBase Committer - Devaraj Das

2013-02-06 Thread Ted Yu
Hi, We've brought in one new Apache HBase Committer: Devaraj Das. On behalf of the Apache HBase PMC, I am excited to welcome Devaraj as committer. He has played a key role in unifying RPC engines for 0.96 He fixed some tricky replication-related bugs There're 30 resolved HBase JIRAs under his na

Re: How would you model this in Hbase?

2013-02-06 Thread James Taylor
Another approach would be to use Phoenix (http://github.com/forcedotcom/phoenix). You can model your schema as you would in the relational world, but you get the horizontal scalability of HBase. James On 02/06/2013 01:49 PM, Michael Segel wrote: Overloading the time stamp aka the version

Re: How would you model this in Hbase?

2013-02-06 Thread Michael Segel
Overloading the time stamp aka the versions of the cell is really not a good idea. Yeah, I know opinions are like A everyone has one. ;-) But you have to be aware that if someone decides to delete some data... well one tombstone marker for the column, goodbye all of the versions of the ce

Re: How would you model this in Hbase?

2013-02-06 Thread Ian Varley
Alex, This might be an interesting use of the time dimension in HBase. Every value in HBase is uniquely represented by a set of coordinates: - table - row key - column family - column qualifier - timestamp So, you can have two different values that have all the same coordinates, except th

Re: HBase coprocessor callback for comet

2013-02-06 Thread Jan Althaus
Thanks Andrew, I'll look into it. On 7 February 2013 09:39, Andrew Purtell wrote: > Yes, I think it could be useful. > > For your consideration, it might be interesting to look at HBase > Coprocessor Observer events as instances of Observable: > > https://github.com/Netflix/RxJava/blob/master/r

Re: HBase coprocessor callback for comet

2013-02-06 Thread Andrew Purtell
Yes, I think it could be useful. For your consideration, it might be interesting to look at HBase Coprocessor Observer events as instances of Observable: https://github.com/Netflix/RxJava/blob/master/rxjava-core/src/main/java/rx/Observable.java On Wed, Feb 6, 2013 at 12:12 PM, Jan Althaus wrot

How would you model this in Hbase?

2013-02-06 Thread Alex Grund
Hi, I am a newbie in nosql-databases and I am wondering how to model a specific case with Hbase. The thing I want to model are economic time series, such as unemployment rate in a given country. The complicated thing is this: Values of an economic time series can, but do not have to be revised.

Re: HBase coprocessor callback for comet

2013-02-06 Thread Jan Althaus
Thanks for the help everyone. Would you see this as something that could be useful to ship with HBase? If so, I may well consider what I'm about to write a proof of concept and post again with my findings / the source. On 7 February 2013 01:39, Michael Segel wrote: > I'd say add some sort of du

Weird Hbase Routing

2013-02-06 Thread Mourad
Dear all, I seem to have a strange happening with Hbase on Cloudera cdh3. For a bit of background, I have setup Cloudera on machine A and made a machine image (ec2 setup) of the whole server. I then create a new machine B with the same image. I had to change all the configuration files to point

Re: HBASE-5603 fix

2013-02-06 Thread Samir Ahmic
Sure thing. I will fill JIRA Cheers On Wed, Feb 6, 2013 at 6:20 PM, Ted Yu wrote: > HBASE-5603 has been closed. > > Mind filing a new JIRA ? > > On Wed, Feb 6, 2013 at 2:47 AM, Samir Ahmic wrote: > >> Hi all, >> >> I have tried rolling-restart.sh and it still hangs on waiting for master >> znode

Re: Is "synchronized" required?

2013-02-06 Thread lars hofhansl
Yep. From: Bing Li To: user ; lars hofhansl Sent: Wednesday, February 6, 2013 2:31 AM Subject: Re: Is "synchronized" required? Dear Lars, I am now running HBase in the pseudo-distributed mode. The updated HTable constructor also works? Thanks so much! Bin

Re: HBASE-5603 fix

2013-02-06 Thread Ted Yu
HBASE-5603 has been closed. Mind filing a new JIRA ? On Wed, Feb 6, 2013 at 2:47 AM, Samir Ahmic wrote: > Hi all, > > I have tried rolling-restart.sh and it still hangs on waiting for master > znode to expire from zookeeper. After little poking around i notices that > issue is caused by followi

Re: Query on JSON Object

2013-02-06 Thread James Taylor
You can use a utility like this one to convert from JSON to CSV (https://github.com/zeMirco/json2csv) and then Phoenix (https://github.com/forcedotcom/phoenix) to create a table and upload the CSV into HBase (see bin/psql.sh or CSVLoader.java). James On Feb 6, 2013, at 5:19 AM, "Jean-Marc Spag

Re: Query on JSON Object

2013-02-06 Thread Jean-Marc Spaggiari
Hi Vasaprasad, Is it the same question that your collegue already asked there: http://goo.gl/tx13I ? JM 2013/2/6, Bryan Beaudreault : > HBase deals in byte arrays, so simply convert your json string to a byte > array on save, and convert back on read. Use the Bytes.toBytes(String) and > Bytes.t

Re: Connecting to standalone HBase from a remote client

2013-02-06 Thread Jean-Marc Spaggiari
Hi, Do you have 127.0.0.1 localhost in our host file? If not, can you add it and retry? You also need to have your IP documented pointing to you host name. 2013/2/6, rajivtyagi711 : > Hello, > > I am new to HBase and have a background in C. Please help as I am facing > this problem from last on

Re: HBase coprocessor callback for comet

2013-02-06 Thread Michael Segel
I'd say add some sort of durable queue to receive the alert if you don't want to miss a message. Essentially use a region server observer and write the alert to your favorite pub/sub solution. The key then is starting the pub/sub queue, first so that your region server can connect to it. If

Re: Is "synchronized" required?

2013-02-06 Thread Bing Li
Dear Lars, I am now running HBase in the pseudo-distributed mode. The updated HTable constructor also works? Thanks so much! Bing On Wed, Feb 6, 2013 at 3:44 PM, lars hofhansl wrote: > Don't use a pool at all. > With HBASE-4805 (https://issues.apache.org/jira/browse/HBASE-4805) you can > precr

Concurrently Reading Still Got Exceptions

2013-02-06 Thread Bing Li
Dear all, Some exceptions are raised when I concurrently read data from HBase. The version of HBase I used is 0.92.0. I cannot fix the problem. Could you please help me? Thanks so much! Best wishes, Bing Feb 6, 2013 12:21:31 AM org.apache.hadoop.hbase.ipc.HBaseClient$Connection run

Re: Connecting to standalone HBase from a remote client

2013-02-06 Thread rajivtyagi711
Hello, I am new to HBase and have a background in C. Please help as I am facing this problem from last one day. I have installed HBase on Linux Machine(192.168.113.27). I have created the "users" table on HBase. Then I have wriiten the code in Eclipse IDE on my Local Machine to communicate with