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
Suraj Varma 2012-05-25, 19:14
>>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.

This seems to indicate that your program is picking up a different
version of hbase jars than your hbase cluster, perhaps? Check your
classpath to ensure that the versions match up.
--S

On Fri, May 25, 2012 at 10:21 AM, Prashant Kommireddi
<[EMAIL PROTECTED]> wrote:
> I am building of off trunk (0.95-SNAPSHOT), this is not for
> production. I have updated hbase-site.xml in my conf dir but that does
> not work.
>
>
> On May 25, 2012, at 8:29 AM, Marcos Ortiz <[EMAIL PROTECTED]> wrote:
>
>> Are you using 0.95-SNAPSHOT?
>> The 0.94 version just released in May 16, so, If you have a production
>> environment, you should use a stable version.
>> Anyway, Which specific version are you using? Because, based on this
>> error is telling you that you are using a different version
>> from you hbase-site.xml?
>>
>> Did you update your conf dir too?
>>
>>
>> On 05/25/2012 02:02 AM, Prashant Kommireddi 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,
>>>
>>>
>>> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
>>> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>>>
>>> http://www.uci.cu
>>> http://www.facebook.com/universidad.uci
>>> http://www.flickr.com/photos/universidad_uci
>>
>> --
>> Marcos Luis Ortíz Valmaseda
>> Data Engineer&&  Sr. System Administrator at UCI
>> http://marcosluis2186.posterous.com
>> http://www.linkedin.com/in/marcosluis2186
>> Twitter: @marcosluis2186
>>
>>
>> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
>> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>>
>> http://www.uci.cu
>> http://www.facebook.com/universidad.uci
>> http://www.flickr.com/photos/universidad_uci