CodeCooker17 commented on issue #5372:
URL: https://github.com/apache/hudi/issues/5372#issuecomment-1111800290

   > 
   The default value of hbase.defaults.for.version.skip in hbase-site.xml is 
false. This will cause the following exception to occur once the local hbase 
version is lower than 2.4.9. So it would be better if it is set to true by 
default.
   
   `Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at 
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
        ... 21 more
   Caused by: java.lang.ExceptionInInitializerError
        at 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:658)
        ... 26 more
   Caused by: java.lang.RuntimeException: hbase-default.xml file seems to be 
for an older version of HBase (2.4.9), this version is 1.3.0
        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.client.ConnectionManager.<clinit>(ConnectionManager.java:235)`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to