You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2024/09/12 06:08:00 UTC

[jira] [Commented] (HUDI-7524) Ensure existing hoodie.properties are not overwritten with HoodieTableMetaClient creation

    [ https://issues.apache.org/jira/browse/HUDI-7524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881180#comment-17881180 ] 

Lokesh Jain commented on HUDI-7524:
-----------------------------------

Closing the ticket based on Siva's comment on the PR. 
[https://github.com/apache/hudi/pull/10902#issuecomment-2344572474]

| I see this as a user error and its ok to not add guards for these. we can't have guards for all diff ways users could make mistakes. if someone is going to directly use internal classes or apis, we expect them to know what they are doing.
a general hudi user who is using one of the available writers out of the box may not hit this issue.

> Ensure existing hoodie.properties are not overwritten with HoodieTableMetaClient creation
> -----------------------------------------------------------------------------------------
>
>                 Key: HUDI-7524
>                 URL: https://issues.apache.org/jira/browse/HUDI-7524
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>              Labels: pull-request-available
>
> org.apache.hudi.common.table.HoodieTableMetaClient#initTableAndGetMetaClient can overwrite a existing `hoodie.properties` today. The jira ensures that an error is thrown if the file already exists.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)