Skip to content

Commit

Permalink
HADOOP-16520. Race condition in DDB table init and waiting threads. (a…
Browse files Browse the repository at this point in the history
…pache#1576). Contributed by Gabor Bota.

Fixes HADOOP-16349. DynamoDBMetadataStore.getVersionMarkerItem() to log at info/warn on retry

Change-Id: Ia83e92b9039ccb780090c99c41b4f71ef7539d35
  • Loading branch information
Gabor Bota authored Oct 11, 2019
1 parent f267917 commit 4a700c2
Show file tree
Hide file tree
Showing 11 changed files with 892 additions and 486 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ private Constants() {

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

// seconds until we give up trying to establish a connection to s3
public static final String ESTABLISH_TIMEOUT =
Expand Down
Loading

0 comments on commit 4a700c2

Please sign in to comment.