I get this error message in my log file WARN hbase.HBaseConfiguration: instantiating HBaseConfiguration() is deprecated. Please use HBaseConfiguration#create() to construct a plain Configuration, how can I get rid of this?
My class extends Configured.class, and I create the configuration as follows:
HBaseConfiguration hBaseConfiguration = new HBaseConfiguration(getConf());
Has anyone had a similar problem? how to fix it?
EDIT
How can I get this version of HbaseConfiguration:
http://hbase.apache.org/docs/r0.89.20100726/xref/org/apache/hadoop/hbase/HBaseConfiguration.html
I downloaded the latest version from the hbase website (version 0.20.6), but the class is different from this, the missing create () method and some others.
source
share