hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kim young ill <khi...@googlemail.com>
Subject where does hbase expect hbase-default.xml in webapp inside a servlet container ?
Date Sun, 22 Jan 2012 00:49:59 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message