[
https://issues.apache.org/jira/browse/HUDI-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-1695:
---------------------------------
Labels: beginner pull-request-available (was: beginner)
> Deltastreamer HoodieIncrSource exception error messaging is incorrect
> ---------------------------------------------------------------------
>
> Key: HUDI-1695
> URL: https://issues.apache.org/jira/browse/HUDI-1695
> Project: Apache Hudi
> Issue Type: Bug
> Components: DeltaStreamer
> Reporter: Vinoth Govindarajan
> Assignee: Vinoth Govindarajan
> Priority: Trivial
> Labels: beginner, pull-request-available
> Fix For: 0.8.0
>
>
> When you set your source_class as HoodieIncrSource and invoke deltastreamer
> without any checkpoint, it throws the following Exception:
>
> {code:java}
> User class threw exception: java.lang.IllegalArgumentException: Missing begin
> instant for incremental pull. For reading from latest committed instant set
> hoodie.deltastreamer.source.hoodie.read_latest_on_midding_ckpt to true{code}
>
> The error messaging is wrong and misleading, the correct parameter is:
> {code:java}
> hoodie.deltastreamer.source.hoodieincr.read_latest_on_missing_ckpt
> {code}
> Check out the correct parameter in this
> [file|https://github.com/apache/hudi/blob/release-0.7.0/hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/HoodieIncrSource.java#L78]
>
> The correct messaging should be:
> {code:java}
> User class threw exception: java.lang.IllegalArgumentException: Missing begin
> instant for incremental pull. For reading from latest committed instant set
> hoodie.deltastreamer.source.hoodieincr.read_latest_on_missing_ckpt to true
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)