Re:Re: managing HConnection

2015-02-15 Thread David chen
5 rpm? I am curious how the result is concluded?

Re: Zookeeper JAAS Problem

2015-02-15 Thread Mikhail Antonov
I assume you followed steps in https://issues.apache.org/jira/browse/HBASE-2418 and you're passing config file name in HBASE_OPTS? Also what are the permissions on this file? -Mikhail On Sun, Feb 15, 2015 at 7:24 PM, 郝东 wrote: > Hi, guys > > I am deploying a hbase cluster with Authentication an

Re: managing HConnection

2015-02-15 Thread Serega Sheypak
It can. 5 rpm, no problem. понедельник, 16 февраля 2015 г. пользователь David chen написал: > Sorry for the unclear represent. > My problem is that whether or not a sharing Honnection can bear too many > query requests?

Zookeeper JAAS Problem

2015-02-15 Thread 郝东
Hi, guys I am deploying a hbase cluster with Authentication and Authorization enabled. I used the HBase Managed Zookeeper. The JAAS file I wrote is as following : Server { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="mypath" storeKey=true useTicketCache

Re: Connecting to HBase with Kerberos

2015-02-15 Thread Mikhail Antonov
Glad to hear you found the solution! -Mikhail On Sun, Feb 15, 2015 at 9:38 PM, Jiten Gore wrote: > Hi Mikhail, thanks a lot for your help. One thing led to other and now we > have the solution that I wanted to share with all. > > We added the following in the code: > System.setProperty("java.se

Re: Connecting to HBase with Kerberos

2015-02-15 Thread Jiten Gore
Hi Mikhail, thanks a lot for your help. One thing led to other and now we have the solution that I wanted to share with all. We added the following in the code: System.setProperty("java.security.auth.login.config", "src/main/resources/hbase-jaas.conf"); System.setProperty("java.security.krb5.con

Re:Re: Re: Re: managing HConnection

2015-02-15 Thread David chen
Sorry for the unclear represent. My problem is that whether or not a sharing Honnection can bear too many query requests?

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: Re: Re: managing HConnection

2015-02-15 Thread Serega Sheypak
I don't understand you. There is a single instance of servlet per application. Servlet.init method called once. Here you can instantiate HConnection and solve ANY concurrency problems. HConnection is tread-safe. Just don't close it and reuse. Then just use HConnection to get HTable. What problem y

[ANNOUNCE] HBase 0.98.10.1 is now available for download

2015-02-15 Thread Andrew Purtell
Apache HBase 0.98.10.1 is now available for download. Get it from an Apache mirror [1] or Maven repository. The list of changes in this release can be found in the release notes [2][3] or following this announcement. Thanks to all who contributed to this release. Best, The HBase Dev Team 1. htt

Re: HBase Object Mapper

2015-02-15 Thread Sleiman Janeiro
Cool, please try to run the tests, because I was getting strange issues related to versions and the mini cluster Sent from my iPhone > On 15 Feb 2015, at 3:18 pm, Ted Yu wrote: > > I got some compilation error(s) after cloning your repo ( > http://pastebin.com/9nqbxubv). > > With the followi

Re: HBase Object Mapper

2015-02-15 Thread Ted Yu
I got some compilation error(s) after cloning your repo ( http://pastebin.com/9nqbxubv). With the following change: http://pastebin.com/jbTHCA56 I was able to build your project. FYI On Sun, Feb 15, 2015 at 6:49 AM, Sleiman Jneidi wrote: > Hi Guys, hope you all had a great weekend. > Recently

Re: HBase Object Mapper

2015-02-15 Thread Sleiman Jneidi
Gora requires that you generate your classes through its compiler and you can't touch these classes , do you really want to do that?? Kundera on the other hand is JPA which is a good idea, but I don't find it natural for HBase, for ex: row key is very important in HBase, so you can't just have a fi

Re: HBase Object Mapper

2015-02-15 Thread Jean-Marc Spaggiari
Nice, thanks for Sharing 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. > Recently, I had to do a

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: Re: managing HConnection

2015-02-15 Thread David chen
If sharing one HConnection for the whole application, when concurrency to access servlets increases to a threshold, whether or not it will influence the application performance? But if increasing the sharing HConnection number, the problem will be relieved?