use of org.apache.iceberg.aws.dynamodb.DynamoDbLockManager in project iceberg by apache.
the class TestGlueCatalogLock method beforeClass.
@BeforeClass
public static void beforeClass() {
GlueTestBase.beforeClass();
String testBucketPath = "s3://" + testBucketName + "/" + testPathPrefix;
lockTableName = getRandomName();
S3FileIO fileIO = new S3FileIO(clientFactory::s3);
glueCatalog = new GlueCatalog();
AwsProperties awsProperties = new AwsProperties();
dynamo = clientFactory.dynamo();
glueCatalog.initialize(catalogName, testBucketPath, awsProperties, glue, new DynamoDbLockManager(dynamo, lockTableName), fileIO);
}
Aggregations