[HUDI-2850] Fixing Clustering CLI - schedule and run command fixes to avoid NumberFormatException (#4101)
This commit is contained in:
committed by
GitHub
parent
e9efbdb63c
commit
3d75aca40d
@@ -66,7 +66,7 @@ public class HoodieClusteringJob {
|
||||
public HoodieClusteringJob(JavaSparkContext jsc, Config cfg) {
|
||||
this.cfg = cfg;
|
||||
this.jsc = jsc;
|
||||
this.props = cfg.propsFilePath == null
|
||||
this.props = StringUtils.isNullOrEmpty(cfg.propsFilePath)
|
||||
? UtilHelpers.buildProperties(cfg.configs)
|
||||
: readConfigFromFileSystem(jsc, cfg);
|
||||
this.metaClient = UtilHelpers.createMetaClient(jsc, cfg.basePath, true);
|
||||
|
||||
Reference in New Issue
Block a user