bhasudha opened a new issue #4414: URL: https://github.com/apache/hudi/issues/4414
**_Tips before filing an issue_** - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)? - Join the mailing list to engage in conversations and get faster support at [email protected]. - If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly. **Describe the problem you faced** This is from one of the slack threads. It seems like the config `hoodie.write.lock.dynamodb.billing_mode` is checked for as a required prop. But there is also a default value for this prop if its not set - https://github.com/apache/hudi/blob/92f54ce3d8489e0dabcdc1f5cb5076a2ac756545/hudi-aws/src/main/java/org/apache/hudi/aws/transaction/lock/DynamoDBBasedLockProvider.java#L202 https://github.com/apache/hudi/blob/92f54ce3d8489e0dabcdc1f5cb5076a2ac756545/hudi-aws/src/main/java/org/apache/hudi/aws/transaction/lock/DynamoDBBasedLockProvider.java#L206 Do we want to either remove the validation check or remove the default ? A clear and concise description of the problem. **To Reproduce** Steps to reproduce the behavior: 1. 2. 3. 4. **Expected behavior** A clear and concise description of what you expected to happen. **Environment Description** * Hudi version : 0.10.0 * Spark version : * Hive version : * Hadoop version : * Storage (HDFS/S3/GCS..) : * Running on Docker? (yes/no) : **Additional context** Add any other context about the problem here. **Stacktrace** ```ERROR:_main_:WRITE:HUDI:TABLE:S3:ERROR: An error occurred while calling o242.save. : org.apache.hudi.exception.HoodieException: Unable to instantiate class org.apache.hudi.aws.transaction.lock.DynamoDBBasedLockProvider Caused by: java.lang.IllegalArgumentException: Property hoodie.write.lock.dynamodb.billing_mode 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.aws.transaction.lock.DynamoDBBasedLockProvider.checkRequiredProps(DynamoDBBasedLockProvider.java:202) at org.apache.hudi.aws.transaction.lock.DynamoDBBasedLockProvider.<init>(DynamoDBBasedLockProvider.java:81) at org.apache.hudi.aws.transaction.lock.DynamoDBBasedLockProvider.<init>(DynamoDBBasedLockProvider.java:77)``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
