jackye1995 commented on a change in pull request #1823:
URL: https://github.com/apache/iceberg/pull/1823#discussion_r547509499
##########
File path: aws/src/integration/java/org/apache/iceberg/aws/s3/S3FileIOTest.java
##########
@@ -202,8 +201,7 @@ public void testACL() throws Exception {
@Test
public void testClientFactorySerialization() throws Exception {
- S3FileIO fileIO = new S3FileIO();
- fileIO.initialize(Maps.newHashMap());
+ S3FileIO fileIO = new S3FileIO(clientFactory::s3);
Review comment:
Otherwise it will throw exception because glue lock is not found when
initializing `AwsProperties`. Changing the constructor resolves the issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]