danepitkin commented on code in PR #36934:
URL: https://github.com/apache/arrow/pull/36934#discussion_r1279386386
##########
java/dataset/src/main/java/org/apache/arrow/dataset/file/FileSystemDatasetFactory.java:
##########
@@ -26,14 +28,18 @@
*/
public class FileSystemDatasetFactory extends NativeDatasetFactory {
+ private static final AtomicBoolean addedS3ShutdownHook = new
AtomicBoolean(false);
Review Comment:
Ah yes, this is a much better spot for this. Will update. The atomic bool
did feel like overkill
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]