You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Xianghu Wang (Jira)" <ji...@apache.org> on 2022/02/21 14:42:00 UTC
[jira] [Assigned] (HUDI-3464) Fix wrong exception message thrown from HiveSchemaProvider
[ https://issues.apache.org/jira/browse/HUDI-3464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xianghu Wang reassigned HUDI-3464:
----------------------------------
Assignee: Xianghu Wang
> Fix wrong exception message thrown from HiveSchemaProvider
> ----------------------------------------------------------
>
> Key: HUDI-3464
> URL: https://issues.apache.org/jira/browse/HUDI-3464
> Project: Apache Hudi
> Issue Type: Bug
> Components: deltastreamer
> Reporter: Xianghu Wang
> Assignee: Xianghu Wang
> Priority: Major
>
> step to reproduce:
> # set SOURCE_SCHEMA_TABLE_PROP, SOURCE_SCHEMA_DATABASE_PROP to right config;
> # SOURCE_SCHEMA_TABLE_PROP does not exist;
> # start the task using HiveSchemaProvider
> Caused by: java.lang.IllegalArgumentException: Property hoodie.deltastreamer.schemaprovider.target.schema.hive.table not found
> at org.apache.hudi.common.config.TypedProperties.checkKey(TypedProperties.java:48)
> at org.apache.hudi.common.config.TypedProperties.getString(TypedProperties.java:58)
> at org.apache.hudi.utilities.schema.HiveSchemaProvider.<init>(HiveSchemaProvider.java:83)
>
> Acturally, the right message should be SOURCE_SCHEMA_TABLE_PROP not found, but it is covered by above error message
--
This message was sent by Atlassian Jira
(v8.20.1#820001)