1
0

[HUDI-4401] Skip HBase version check (#6114)

This commit is contained in:
Y Ethan Guo
2022-07-20 14:09:45 -07:00
committed by GitHub
parent e3675fe9b0
commit 2b828ccb98

View File

@@ -37,6 +37,13 @@ HBaseConfiguration::addHbaseResources(). To get around this issue,
since HBase loads "hbase-site.xml" after "hbase-default.xml", we
provide hbase-site.xml from the bundle so that HBaseConfiguration
can pick it up and ensure the right defaults.
The HBase version check is skipped (setting "hbase.defaults.for.version.skip"
to true instead of false as default) to avoid any inconvenience caused
by the RuntimeException due to version mismatch if multiple versions
of HBase library are present in the class path. In such a case, the
user needs to make sure there is no config conflict between different
versions.
-->
<!--
@@ -1427,7 +1434,7 @@ possible configurations would overwhelm and obscure the important.
</property>
<property>
<name>hbase.defaults.for.version.skip</name>
<value>false</value>
<value>true</value>
<description>Set to true to skip the 'hbase.defaults.for.version' check.
Setting this to true can be useful in contexts other than
the other side of a maven generation; i.e. running in an