Hi, Thanks for trying out Gora. If you are using ant, you can just exclude hbase dependency from gora-hbase artifact, and then manually depend on 0.92.1 for hbase. If you are using maven, you can list the hbase version under <dependencyManagement> section, so that gora-hbase will resolve to the correct hbase version.
Enis On Fri, Aug 24, 2012 at 11:03 AM, Henry JunYoung Kim <[email protected]>wrote: > Hi, gora members. > > I am new to use a Gora library. > > for localhost, I implemented very simple application to use it. > > As I mentioned already, I am using hbase 0.92.1. > > but, when an application is creating Datastore instance, it prints out > errors like this. > > org.apache.gora.util.GoraException: java.lang.IllegalArgumentException: > Not a host:port pair: [email protected],52912,1345830996368 > at org.apache.gora.store.DataStoreFactory.createDataStore( > DataStoreFactory.java:167) > at org.apache.gora.store.DataStoreFactory.getDataStore( > DataStoreFactory.java:278) > at net.daum.drp.bifrost.storage.App.store(App.java:38) > at net.daum.drp.bifrost.storage.App.<init>(App.java:30) > at net.daum.drp.bifrost.storage.App.main(App.java:47) > Caused by: java.lang.IllegalArgumentException: Not a host:port pair: > [email protected],52912,1345830996368 > at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60) > at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress( > MasterAddressTracker.java:63) > at > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster( > HConnectionManager.java:354) > at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:94) > at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108) > at org.apache.gora.store.DataStoreFactory.initializeDataStore( > DataStoreFactory.java:102) > at org.apache.gora.store.DataStoreFactory.createDataStore( > DataStoreFactory.java:161) > > yes, I guess this is caused by different versions between client and > server. > I knew the current released version (0.2.1) is based on hbase 0.90.x. > right? > > How could I make my application properly without changing a hbase server > version? > > thanks. > > - Henry >

