Skip to content

Commit 2b828cc

Browse files
authored
[HUDI-4401] Skip HBase version check (#6114)
1 parent e3675fe commit 2b828cc

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

hudi-common/src/main/resources/hbase-site.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ HBaseConfiguration::addHbaseResources(). To get around this issue,
3737
since HBase loads "hbase-site.xml" after "hbase-default.xml", we
3838
provide hbase-site.xml from the bundle so that HBaseConfiguration
3939
can pick it up and ensure the right defaults.
40+
41+
The HBase version check is skipped (setting "hbase.defaults.for.version.skip"
42+
to true instead of false as default) to avoid any inconvenience caused
43+
by the RuntimeException due to version mismatch if multiple versions
44+
of HBase library are present in the class path. In such a case, the
45+
user needs to make sure there is no config conflict between different
46+
versions.
4047
-->
4148

4249
<!--
@@ -1427,7 +1434,7 @@ possible configurations would overwhelm and obscure the important.
14271434
</property>
14281435
<property>
14291436
<name>hbase.defaults.for.version.skip</name>
1430-
<value>false</value>
1437+
<value>true</value>
14311438
<description>Set to true to skip the 'hbase.defaults.for.version' check.
14321439
Setting this to true can be useful in contexts other than
14331440
the other side of a maven generation; i.e. running in an

0 commit comments

Comments
 (0)