From fbda515e14d58e6c0eeb6d518acf3d1add6b47f3 Mon Sep 17 00:00:00 2001 From: Emilio Date: Thu, 12 Dec 2024 13:00:37 -0500 Subject: [PATCH] Set default volume to S3 when S3 is enabled (#4) --- docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start.sh b/docker/start.sh index 782744c..ba41ef0 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -108,7 +108,7 @@ if [[ -n "$S3_VOLUME" ]]; then existingVolume="$(grep '^instance.volumes=' "$UNO_HOME"/install/accumulo/conf/accumulo.properties | sed 's/^instance.volumes=//')" setAccumuloProperty instance.volumes "$existingVolume,${S3_VOLUME}" setAccumuloProperty general.volume.chooser org.apache.accumulo.server.fs.PreferredVolumeChooser - setAccumuloProperty general.custom.volume.preferred.default "${existingVolume}" + setAccumuloProperty general.custom.volume.preferred.default "${S3_VOLUME}" setHadoopConf core-site.xml fs.s3a.connection.maximum 512 setHadoopConf core-site.xml fs.s3a.path.style.access "${S3_PATH_STYLE_ACCESS:-true}" # use the aws provider chain for full authentication flexibility (note: does not consider fs.s3a.access/secret.key in core-site.xml)