steveloughran commented on a change in pull request #1037: limit the r/w
capacity
URL: https://github.com/apache/hadoop/pull/1037#discussion_r298838229
##########
File path:
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestS3GuardConcurrentOps.java
##########
@@ -55,6 +57,23 @@
@Rule
public final Timeout timeout = new Timeout(5 * 60 * 1000);
+ protected Configuration createConfiguration() {
+ Configuration conf = super.createConfiguration();
+ //patch the read/write capacity
+ boolean scaleCapacityLimitEnabled =
conf.getBoolean("fs.s3a.s3guard.ddb.table.scale.capacity.limit", true);
Review comment:
I think we should just the R/"W capacities to 0 to switch to on-demand, and
remove any new configuration option. I don't care about capacity of allocation,
just want to keep costs down
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]