1
0

[HUDI-2314] Add support for DynamoDb based lock provider (#3486)

- Co-authored-by: Wenning Ding <wenningd@amazon.com>
- Co-authored-by: Sivabalan Narayanan <n.siva.b@gmail.com>
This commit is contained in:
wenningd
2021-11-17 09:09:31 -08:00
committed by GitHub
parent 826414cff5
commit 1ee12cfa6f
16 changed files with 982 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ public class LockManager implements Serializable, AutoCloseable {
LOG.info("Retrying to acquire lock...");
Thread.sleep(waitTimeInMs);
retryCount++;
} catch (InterruptedException e) {
} catch (HoodieLockException | InterruptedException e) {
if (retryCount >= retries) {
throw new HoodieLockException("Unable to acquire lock, lock object ", e);
}

View File

@@ -53,7 +53,6 @@ import static org.apache.hudi.common.config.LockConfiguration.ZK_LOCK_KEY_PROP_K
import static org.apache.hudi.common.config.LockConfiguration.ZK_PORT_PROP_KEY;
import static org.apache.hudi.common.config.LockConfiguration.ZK_SESSION_TIMEOUT_MS_PROP_KEY;
/**
* Hoodie Configs for Locks.
*/