Skip to content

Commit 578d6d7

Browse files
authored
fix: skip close on bundles (apache#32661)
1 parent 7398a52 commit 578d6d7

File tree

1 file changed

+3
-4
lines changed
  • sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable

1 file changed

+3
-4
lines changed

sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigtable/BigtableIO.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -2021,10 +2021,9 @@ public void close() throws IOException {
20212021
reader.close();
20222022
reader = null;
20232023
}
2024-
if (serviceEntry != null) {
2025-
serviceEntry.close();
2026-
serviceEntry = null;
2027-
}
2024+
// Skipping closing the service entry on each bundle.
2025+
// In the future we'll close the Bigtable client in
2026+
// teardown.
20282027
}
20292028

20302029
@Override

0 commit comments

Comments
 (0)