Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> LocalHBaseCluster exception

Copy link to this message
Re: LocalHBaseCluster exception
Find the hbase-default.xml file in your target folder,  check the value for
parameter   hbase.defaults.for.version.  Is it   <value>@@@VERSION@

It should be replaced by mvn to the ${project.version}.  However, if you do
a clean build from eclipse or something else, the replaced value may be

You can always manually set hbase.defaults.for.version.skip to true to move


On Thu, Aug 22, 2013 at 11:58 PM, 闫昆 <[EMAIL PROTECTED]> wrote:

> hi all I am using my hbase maven compile the source code and then execute
> LocalHBaseCluster in src / main / java directory, but the following
> exception occurred
> I did not modify any configuration and does not replace any files
> Thank you for your help
> Exception in thread "main" java.lang.RuntimeException: hbase-default.xml
> file seems to be for and old version of HBase
> at
> org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:68)
>     at
> org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:100)
>     at
> org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:111)
>     at
> org.apache.hadoop.hbase.LocalHBaseCluster.main(LocalHBaseCluster.java:445)
> --
> In the Hadoop world, I am just a novice, explore the entire Hadoop
> ecosystem, I hope one day I can contribute their own code
> YanBit