You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "liujinhui (Jira)" <ji...@apache.org> on 2021/09/10 03:15:00 UTC
[jira] [Updated] (HUDI-2410) Fix getDefaultBootstrapIndexClass
logical error
[ https://issues.apache.org/jira/browse/HUDI-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liujinhui updated HUDI-2410:
----------------------------
Description:
public static String getDefaultBootstrapIndexClass(Properties props) {
String defaultClass = BOOTSTRAP_INDEX_CLASS_NAME.defaultValue();
if ("false".equalsIgnoreCase(props.getProperty(BOOTSTRAP_INDEX_ENABLE.key()))) {
defaultClass = NO_OP_BOOTSTRAP_INDEX_CLASS;
}
return defaultClass;
}
When hoodie.bootstrap.index.enable is not passed, the original logic will follow HFileBootstrapIndex
> Fix getDefaultBootstrapIndexClass logical error
> -----------------------------------------------
>
> Key: HUDI-2410
> URL: https://issues.apache.org/jira/browse/HUDI-2410
> Project: Apache Hudi
> Issue Type: Bug
> Components: bootstrap
> Reporter: liujinhui
> Priority: Major
> Fix For: 0.10.0
>
>
> public static String getDefaultBootstrapIndexClass(Properties props) {
> String defaultClass = BOOTSTRAP_INDEX_CLASS_NAME.defaultValue();
> if ("false".equalsIgnoreCase(props.getProperty(BOOTSTRAP_INDEX_ENABLE.key()))) {
> defaultClass = NO_OP_BOOTSTRAP_INDEX_CLASS;
> }
> return defaultClass;
> }
> When hoodie.bootstrap.index.enable is not passed, the original logic will follow HFileBootstrapIndex
--
This message was sent by Atlassian Jira
(v8.3.4#803005)