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

Rajesh commented on HUDI-4045:
------------------------------

Thank you for providing the detail, Atharva.

Looks like the billingmode default is fixed in the latest version of Hudi and 
might need to be documented for the 0.10.1 users.

public static final ConfigProperty<String> DYNAMODB_LOCK_BILLING_MODE = 
ConfigProperty
.key(DYNAMODB_BASED_LOCK_PROPERTY_PREFIX + "billing_mode")
.defaultValue(BillingMode.PAY_PER_REQUEST.name())
.sinceVersion("0.10.0")
.withDocumentation("For DynamoDB based lock provider, by default it is 
PAY_PER_REQUEST mode");

We can annotate the link below with the missing props and IAM policy needs you 
captured.

[https://hudi.apache.org/docs/concurrency_control/#enabling-multi-writing] . 
This is missing `billing_mode` and `endpoint_url`.

 

> DynamoDB billing_mode property is incorrectly documented
> --------------------------------------------------------
>
>                 Key: HUDI-4045
>                 URL: https://issues.apache.org/jira/browse/HUDI-4045
>             Project: Apache Hudi
>          Issue Type: Task
>          Components: docs
>            Reporter: Atharva Inamdar
>            Priority: Major
>         Attachments: image-2022-05-05-12-13-35-294.png
>
>
> Documented feature: 
> [https://hudi.apache.org/docs/next/configurations/#hoodiewritelockdynamodbbilling_mode]
> This specifies the `billing_mode` property is optional with a default value. 
> However running Hudi 0.10.1 the implementation throws an error if the 
> property is not specified in the application.
> !image-2022-05-05-12-13-35-294.png|width=973,height=125!
>  
> Second document that is incomplete is this guide: 
> [https://hudi.apache.org/docs/concurrency_control/#enabling-multi-writing] . 
> This is missing `billing_mode` and `endpoint_url`.
> it would be good to get documentation updated to be correct.  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to