Re: Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Haosong Huang
I build it successfully after I replace some dependencies version in pom.xml. hbase: replace 0.94-adh3u2.2 with 0.94.0 hadoop-core: replace 0.20.2-cdh3u3 with 0.20.2 antlr replace antlr with antlr4 and replace 4.0-complete with 4.0 On Mon, Jan 6, 2014 at 12:24 PM, Ted Yu wrote: > When compilin

Re: Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Ted Yu
When compiling, I got: [ERROR] Failed to execute goal on project simplehbase: Could not resolve dependencies for project allen:simplehbase:jar:0.3: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.94-adh3u2.2, org.apache.hadoop:hadoop-core:jar:0.20.2-cdh3u3, org.apache.h

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Li Li
I got it work by add the hosts file in the sever to client and it's fine. On Mon, Jan 6, 2014 at 1:37 AM, Jean-Marc Spaggiari wrote: > What do you have in you host file for wangzhongxin.HOLD.FOUNDER.COM? Can > you paste your hosts file here? > > > 2014/1/5 Haosong Huang > >> And I also add "hba

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Ted Yu
Apache Gora was released in July 2013. I don't know how active Apache Gora community is. Cheers On Sun, Jan 5, 2014 at 10:15 AM, Renato Marroquín Mogrovejo < renatoj.marroq...@gmail.com> wrote: > There is also Apache Gora which is a ORM over several NoSQL datastores. > > Renato M. > On Jan 5,

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Renato Marroquín Mogrovejo
There is also Apache Gora which is a ORM over several NoSQL datastores. Renato M. On Jan 5, 2014 1:05 PM, "Asaf Mesika" wrote: > There are two projects doing orm for HBase, one named Kundera - check it > out. > > On Sunday, January 5, 2014, zhang_xzhi wrote: > > > I just read some short introduc

Re: hbase-orm

2014-01-05 Thread Asaf Mesika
One strong storage efficient feature would be to serialize your Pojo to binary using Avro (as one example) and saving it as a column. This saves you on storage since you don't have to write your row key for every column. If you load the entire Pojo it will save on read time. Also it enables to supp

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Asaf Mesika
There are two projects doing orm for HBase, one named Kundera - check it out. On Sunday, January 5, 2014, zhang_xzhi wrote: > I just read some short introduction of Phoenix these days. > If I am wrong, pls let me know, thx. > It seems to me Phoenix will provide a JDBC-driver against hbase. > But

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Jean-Marc Spaggiari
What do you have in you host file for wangzhongxin.HOLD.FOUNDER.COM? Can you paste your hosts file here? 2014/1/5 Haosong Huang > And I also add "hbase.master" property to the hbase-site.xml in HBase > server. > > > On Sun, Jan 5, 2014 at 11:17 PM, Haosong Huang wrote: > > > I ever try to conn

Re: Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Haosong Huang
Awesome, I found it is a more convenience way for user to use HBase. I think Phoenix is a SQL engine over HBase while simplehbase is just an ORM library. On Mon, Jan 6, 2014 at 12:47 AM, zhang_xzhi wrote: > I just read some short introduction of Phoenix these days. > If I am wrong, pls let me k

Re: Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread zhang_xzhi
I just read some short introduction of Phoenix these days. If I am wrong, pls let me know, thx. It seems to me Phoenix will provide a JDBC-driver against hbase. But simplehbase will provide some hbase close related features. -- View this message in context: http://apache-hbase.679495.n3.nabble.

Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread zhang_xzhi
I just read some short introduction of Phoenix these days. If I am wrong, pls let me know, thx. It seems to me Phoenix will provide a JDBC-driver against hbase. But simplehbase will provide some hbase close related features. xinzhi.zhang At 2014-01-06 00:40:47,"Ted Yu-3 [via Apache HBase]" wr

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Ted Yu
There seems to be some overlap between your project and the following: HBASE-8089 Add type support Phoenix which becomes Apache incubator project Cheers On Sun, Jan 5, 2014 at 7:58 AM, zhang_xzhi wrote: > https://github.com/zhang-xzhi/simplehbase > https://github.com/zhang-xzhi/simplehbase/wi

Re: hbase-orm

2014-01-05 Thread zhang_xzhi
Did u still work on hbase now, I am writing a hbase ORM, would you give me some suggestion. Thank. https://github.com/zhang-xzhi/simplehbase -- View this message in context: http://apache-hbase.679495.n3.nabble.com/hbase-orm-tp4020855p4054489.html Sent from the HBase User mailing list archive

a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread zhang_xzhi
https://github.com/zhang-xzhi/simplehbase https://github.com/zhang-xzhi/simplehbase/wiki I am writing a light weight hbase ORM now, search for some suggestion. thanks. # 3 mins on simplehbase ## Introduction to simplehbase Simplehbase is a lightweight ORM framework between java app and hbase.

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Haosong Huang
And I also add "hbase.master" property to the hbase-site.xml in HBase server. On Sun, Jan 5, 2014 at 11:17 PM, Haosong Huang wrote: > I ever try to connect a standalone remote hbase. I remember I connect it > successfully after I set "hbase.master" to "x.x.x.x:xxx" in "Configuration". > > > On

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Haosong Huang
I ever try to connect a standalone remote hbase. I remember I connect it successfully after I set "hbase.master" to "x.x.x.x:xxx" in "Configuration". On Sun, Jan 5, 2014 at 11:00 PM, Jean-Marc Spaggiari < jean-m...@spaggiari.org> wrote: > What do you have in you host file for wangzhongxin.HOLD.F

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Jean-Marc Spaggiari
What do you have in you host file for wangzhongxin.HOLD.FOUNDER.COM ? 2014/1/5 Li Li > yes, I test with telnet > I found a similar mail and a jira issue: > > http://apache-hbase.679495.n3.nabble.com/Connecting-to-standalone-HBase-from-a-remote-client-td4034362.html > https://issues.apache.org/j

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Li Li
yes, I test with telnet I found a similar mail and a jira issue: http://apache-hbase.679495.n3.nabble.com/Connecting-to-standalone-HBase-from-a-remote-client-td4034362.html https://issues.apache.org/jira/browse/HBASE-7219 But I can't find a solution. Maybe I need to modify the host, I'll try it tom

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Haosong Huang
Could you connect zookeeper correctly? On Sun, Jan 5, 2014 at 8:28 PM, Li Li wrote: > yes, I just want to setup a test environment > > On Sun, Jan 5, 2014 at 6:48 PM, Ted Yu wrote: > > For hbase.rootdir, hdfs was not used. > > > > Is that intended ? > > > > Thanks > > > > On Jan 4, 2014, at 10

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Li Li
yes, I just want to setup a test environment On Sun, Jan 5, 2014 at 6:48 PM, Ted Yu wrote: > For hbase.rootdir, hdfs was not used. > > Is that intended ? > > Thanks > > On Jan 4, 2014, at 10:46 PM, Li Li wrote: > >> hi all, >> I am new to hbase and encounter a problem of client connection. I

Re: Java Client can't connect to a remote standalone hbase server

2014-01-05 Thread Ted Yu
For hbase.rootdir, hdfs was not used. Is that intended ? Thanks On Jan 4, 2014, at 10:46 PM, Li Li wrote: > hi all, > I am new to hbase and encounter a problem of client connection. I > download latest stable version(0.94.15) and start the server > successfully. And I can use ./bin/hbase