Skip to content

Commit

Permalink
Set default volume to S3 when S3 is enabled (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
elahrvivaz authored Dec 12, 2024
1 parent acecc80 commit fbda515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fbda515

Please sign in to comment.