thanx for the answer, i just tried to repack the war & have the same problem ( i mean it fails on hbase-default.xml which contains one entry for the hbase version).
On Sun, Jan 22, 2012 at 12:17 PM, Niv Mizrahi <[email protected]> wrote: > hbase-site.xml should be include in > some_war/WEB-INF/classes/ > > and all relevant jars should be included in > some_war/WEB-INF/lib/ > > Niv > > On Sun, Jan 22, 2012 at 2:49 AM, kim young ill <[email protected] > >wrote: > > > hi, > > i try to use hbase 0.90.5 as db-backend to store data from a servlet. i > > created the table manually via hbase shell, but call Configuration > config = > > HBaseConfiguration.create(); from servlet fails : > > > > java.lang.RuntimeException: hbase-default.xml file seems to be for and > old > > version of HBase (null), this version is 0.90.5 > > at > > > > > org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66) > > at > > > > > org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:89) > > at > > > > > org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:100) > > > > > > hbase-default.xml is included inside hbase.jar, the .war package include > > all needed jars (zookeeper, hadoop....). i tried also to put this inside > > lib/ of the webapp but without success ? > > > > > > did i miss something ? > > > > thanx > > > > > > -- > *Niv Mizrahi* > Taykey | www.taykey.com >
