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

Switch to Threaded View
HBase, mail # user - Version issue


Copy link to this message
-
Re: Version issue
Harsh J 2012-05-25, 06:23
Prashant,

How exactly did you update HBase? Are you running a trunk build? And
doesn't the same addition to a client's hbase-site.xml not fix it
temporarily?

On Fri, May 25, 2012 at 11:32 AM, Prashant Kommireddi
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Running into this issue after updating hbase. How can I fix it?
>
> Exception in thread "main" java.lang.RuntimeException: hbase-default.xml
> file seems to be for and old version of HBase (@@@VERSION@@@), this version
> is 0.95-SNAPSHOT
>    at
> org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:72)
>    at
> org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:104)
>    at
> org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:115)
>    at org.apache.hadoop.hbase.HBaseConnector.main(HBaseConnector.java:13)
>
> I added this to hbase-site.xml, and that got hbase started but trying to
> run a program to Put rows throws the above error.
>
> <property>
>    <name>hbase.defaults.for.version</name>
>    <value>0.95-SNAPSHOT</value>
>  </property>
>
> Thanks,

--
Harsh J