Releases: basho-labs/riak-mesos
Releases · basho-labs/riak-mesos
2.0.0
2.0.0-rc4
2.0.0-rc3
2.0.0-rc2
2.0.0-rc1
v1.3.0
Versions:
Change highlights:
- IMPORTANT Persistent volumes/Data dir: the path for this is now
$(executor-dir)/data
, to avoid the contents of any of the artifacts over-writing the symlink Mesos creates for the persistent volume inside the executor's directory. The Executor is currently hard-coded to use this path. In future versions, this will be configurable. If you need to use this path in your custom Riak config, it is accessible via thedata_dir
template variable. - Riak config: No longer always require a
riak.conf
to be set for Riak TS clusters: instead, no defaultriak.conf
is provided and we use the one that ships with the Riak you install. If you wish to customise the config that is used for your cluster, you can still do so in the same way (instructions here), but be aware that it is necessary for the executor to override the configuration items contained in this file. - We now only supply artifacts built using
Mesos-1.0.0
protobuf definitions: these are fully backwards compatible with older Mesos versions, so there is no need for the e.g.Mesos-0.28.1
-specific artifacts. - Derive the
hostname
androle
values from theframework-name
by default. These can be set from yourconfig.json
but it is not necessary to do so.
Full change details:
Scheduler:
- #91 Inspect the riak archive for the path under which it will extract, and pass that to the executor.
- #89 new default values for
.riak.hostname
and.riak.role
derived from.riak.framework-name
if unset inconfig.json
- #84 #87 : Rework how config files for Riak are managed: no longer do we automatically set a default config file, and we allow the config files to be deleted once set.
Note that for this to be compatible with Executor versions before1.5.0
, you MUST set a config and advanced-config file for your clusters.
IMPORTANT: if you upgrade to this release and use a custom configuration, you must change yourriak.conf
so that it setsplatform_data_dir = ../../data
. If you use the default config that ships with the scheduler, this has been updated already. - #85 Move persistent volume path; ensure no archive contents clobber PV path
If you are running a Riak cluster on Mesos with a previous version of this scheduler and want to update, do not simply update theconfig.json
, reinstall the scheduler and perform ariak-mesos cluster restart
: this will lead to data loss.
Instead, you will need to update theconfig.json
and reinstall the scheduler, then slowly migrate your cluster to new nodes, allowing transfers to finish before removing each old node.
For a much more in-depth write-up of the procedure, see here: https://gist.github.com/sanmiguel/aa06f1e6026601677af2ced87c6a35f9#file-live-upgrade-procedure-sh
If in doubt, please contact us via the issues. - #81 Adds backwards compatible upgrade to
erl_mesos
v1.0.0
- #80 Add CONTRIBUTING.md: an initial guide to working with the code in this project
A note onerl_mesos
: the upgrade here extends the underlying protobuf definitions to those frommesos-1.0.0
, but does not yet use any1.0.0
-specific functionality. This release should be compatible with earlier versions of mesos without problem: if you encounter an issue, please report it. - #82 Fix order of archive extraction in executor
Executor:
- #34 New supported variable from
TaskData
:RiakRootPath
- the location to look for Riak config files under - #34 Add
erlpmd_patches-rel
variant, to work with officialrel
Riak packages. - #34 Automatically calculate the
data_dir
from theRiakRootPath
value - #33 Upgrade to erl_mesos
v1.0.0
which uses mesos-1.0.0 protobufs (backwards compatible with mesos-0.28.x) - #31 No longer expect the Scheduler to have a configuration file with all the right template variables in the right places. Now, we either use the config file that shipped with our Riak node, or one from the Scheduler if it's set. Once that's in place, we append
riak-mesos.conf
to the end, which contains all of the settings we MUST control in a Mesos environment (ports, data location etc)
v1.2.0
Changes:
- [email protected]
- [email protected]
- [email protected]
- Template change related to basho-labs/riak-mesos-dcos-repo/pull/7
v1.1.0
v1.0.0
Version 1.0-rc2
version bumps