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 and ahussein committed Oct 29, 2019
1 parent c0f4915 commit f01dca1
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 f01dca1

Please sign in to comment.