@@ -326,7 +326,7 @@ public class S3AFileSystem extends FileSystem implements StreamCapabilities,
326326
327327 /**
328328 * CRT-Based S3Client created of analytics accelerator library is enabled
329- * and managed by the ClientManager . Analytics accelerator library can be
329+ * and managed by the S3AStoreImpl . Analytics accelerator library can be
330330 * enabled with {@link Constants#ANALYTICS_ACCELERATOR_ENABLED_KEY}
331331 */
332332 private S3AsyncClient s3AsyncClient ;
@@ -545,7 +545,7 @@ public class S3AFileSystem extends FileSystem implements StreamCapabilities,
545545 private boolean s3AccessGrantsEnabled ;
546546
547547 /**
548- * Factory to create S3SeekableInputStream if {@link this#analyticsAcceleratorEnabled} is true
548+ * Factory to create S3SeekableInputStream if {@link this#analyticsAcceleratorEnabled} is true.
549549 */
550550 private S3SeekableInputStreamFactory s3SeekableInputStreamFactory ;
551551
@@ -705,8 +705,10 @@ public void initialize(URI name, Configuration originalConf)
705705 this .prefetchBlockCount =
706706 intOption (conf , PREFETCH_BLOCK_COUNT_KEY , PREFETCH_BLOCK_DEFAULT_COUNT , 1 );
707707
708- this .analyticsAcceleratorEnabled = conf .getBoolean (ANALYTICS_ACCELERATOR_ENABLED_KEY , ANALYTICS_ACCELERATOR_ENABLED_DEFAULT );
709- this .analyticsAcceleratorCRTEnabled = conf .getBoolean (ANALYTICS_ACCELERATOR_CRT_ENABLED , ANALYTICS_ACCELERATOR_CRT_ENABLED_DEFAULT );
708+ this .analyticsAcceleratorEnabled =
709+ conf .getBoolean (ANALYTICS_ACCELERATOR_ENABLED_KEY , ANALYTICS_ACCELERATOR_ENABLED_DEFAULT );
710+ this .analyticsAcceleratorCRTEnabled =
711+ conf .getBoolean (ANALYTICS_ACCELERATOR_CRT_ENABLED , ANALYTICS_ACCELERATOR_CRT_ENABLED_DEFAULT );
710712
711713 this .isMultipartUploadEnabled = conf .getBoolean (MULTIPART_UPLOADS_ENABLED ,
712714 DEFAULT_MULTIPART_UPLOAD_ENABLED );
@@ -847,10 +849,10 @@ public void initialize(URI name, Configuration originalConf)
847849 if (this .analyticsAcceleratorEnabled ) {
848850 LOG .info ("Using S3SeekableInputStream" );
849851 if (this .analyticsAcceleratorCRTEnabled ) {
850- LOG .info ("Using S3CrtClient " );
852+ LOG .info ("Using S3 CRT client for analytics accelerator S3 " );
851853 this .s3AsyncClient = S3CrtAsyncClient .builder ().maxConcurrency (600 ).build ();
852854 } else {
853- LOG .info ("Using S3Client " );
855+ LOG .info ("Using S3 async client for analytics accelerator S3 " );
854856 this .s3AsyncClient = store .getOrCreateAsyncClient ();
855857 }
856858
0 commit comments