Skip to content

Commit 4a700c2

Browse files
author
Gabor Bota
authored
HADOOP-16520. Race condition in DDB table init and waiting threads. (#1576). Contributed by Gabor Bota.
Fixes HADOOP-16349. DynamoDBMetadataStore.getVersionMarkerItem() to log at info/warn on retry Change-Id: Ia83e92b9039ccb780090c99c41b4f71ef7539d35
1 parent f267917 commit 4a700c2

File tree

11 files changed

+892
-486
lines changed

11 files changed

+892
-486
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ private Constants() {
176176

177177
// number of times we should retry errors
178178
public static final String MAX_ERROR_RETRIES = "fs.s3a.attempts.maximum";
179-
public static final int DEFAULT_MAX_ERROR_RETRIES = 20;
179+
public static final int DEFAULT_MAX_ERROR_RETRIES = 10;
180180

181181
// seconds until we give up trying to establish a connection to s3
182182
public static final String ESTABLISH_TIMEOUT =

0 commit comments

Comments
 (0)