You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Shuja Rehman <sh...@gmail.com> on 2011/06/10 13:05:05 UTC
Exception in thread "main" java.lang.RuntimeException:
hbase-default.xml file seems to be for and old version of HBase (null), this
version is 0.90.1-cdh3u0
Hi All,
I just upgrade the hbase and now when i am trying to start the region
servers, i am getting this exception.
Starting Hadoop HBase regionserver daemon: starting regionserver, logging to
/usr/lib/hbase/logs/hbase-hbase-regionserver-app1.out
Exception in thread "main" java.lang.RuntimeException: hbase-default.xml
file seems to be for and old version of HBase (null), this version is
0.90.1-cdh3u0
at
org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66)
at
org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:76)
at
org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:86)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2737)
ERROR.
Kindly let me know how to resolve this.
Thanks
--
Regards
Shuja-ur-Rehman Baig
<http://pk.linkedin.com/in/shujamughal>
Re: Exception in thread "main" java.lang.RuntimeException: hbase-default.xml file seems to be for and old version of HBase (null), this version is 0.90.1-cdh3u0
Posted by Joey Echeverria <jo...@cloudera.com>.
Remove the hbase-default.xml file from your configuration directory. HBase now bundles it in the jar.
-Joey
On Jun 10, 2011, at 7:05, Shuja Rehman <sh...@gmail.com> wrote:
> Hi All,
>
> I just upgrade the hbase and now when i am trying to start the region
> servers, i am getting this exception.
>
> Starting Hadoop HBase regionserver daemon: starting regionserver, logging to
> /usr/lib/hbase/logs/hbase-hbase-regionserver-app1.out
> Exception in thread "main" java.lang.RuntimeException: hbase-default.xml
> file seems to be for and old version of HBase (null), this version is
> 0.90.1-cdh3u0
> at
> org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66)
> at
> org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:76)
> at
> org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:86)
> at
> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2737)
> ERROR.
>
> Kindly let me know how to resolve this.
> Thanks
>
> --
> Regards
> Shuja-ur-Rehman Baig
> <http://pk.linkedin.com/in/shujamughal>