Mount an alternate S3 bucket to a FS mount point

#1

Sometimes it is necessary to override the assigned bucket of a particular mount point.
To get the current buckets assigned to all mount points, execute

c3Grid(S3.mountNames()

To override one or more of the buckets, execute the following:

fs = FileSystemConfig.make().getConfig();
fs.s3.mounts.OUTPUT = ‘new-s3-bucket-name’;
fs.setConfig();
fs.setConfig(ConfigOverride.CLUSTER);
fs.evictFromCache();

1 Like

Configuring S3 for multi-tenancy etc
#2

Can you explain the setConfig and evictFromCache? I cannot find them in the v7.8 documentation.

Thanks

0 Likes