I'm looking further into this.

I started the mvn package in the hbase-common folder and just relaized that an 
exec error got silently skipped. I bet this is where the version info is saved 
into a class:


[INFO] --- maven-antrun-plugin:1.6:run (generate) @ hbase-common ---
[INFO] Executing tasks

main:
     [exec] Error: 0x80070057
     [exec]
     [exec] Result: -1
...

[INFO] Building jar: D:\repos\hbase\hbase-common\target\hbase-common-1.2.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.589 s
[INFO] Finished at: 2017-03-03T19:07:14-08:00
[INFO] Final Memory: 41M/764M



I'll check further and report back.

________________________________
From: jeff saremi <[email protected]>
Sent: Friday, March 3, 2017 6:47:05 PM
To: [email protected]
Subject: hbase-default.xml seems to be for an older version of HBase


I get this baffling error message after doing a compilation of Hbase rel/1.2.2 
(on Windows/Mingw) and running it on a windows server.

Looking at the source, hbase-default.xml is in the hbase-common project and I 
verified it to be included in the runtime jar file.

I cannot say anything about the contents of this file since it seems to be 
filled with references and place holders. I am attaching it as extracted from 
the hbase-common-1.2.2jar.

Thanks


Exception in thread "main" java.lang.RuntimeException: hbase-default.xml file 
seems to be for an older version of HBase (1.2.2), this version is Unknown
        at 
org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:71)
        at 
org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:81)
        at 
org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:96)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2660)

Reply via email to