Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: bz1077-nodetoo…
Commits on Apr 21, 2011
  1. @slfritchie

    Finish adding SSL crypto for intra-cluster communication: nodetool hacks

    slfritchie authored
    Here are the instructions for creating the OpenSSL key files necessary
    to use the hackery.  TODO: This stuff should be put somewhere else.
    Step 1: Run this:
        openssl genrsa -out privkey.pem 2048
    Step 2: Run this, and enter (more) sensible input when prompted:
        openssl req -new -x509 -key privkey.pem -out erlclient.pem -days 1095
        You are about to be asked to enter information that will be
        into your certificate request.
        What you are about to enter is what is called a Distinguished Name or a
        There are quite a few fields but you can leave some blank
        For some fields there will be a default value,
        If you enter '.', the field will be left blank.
        Country Name (2 letter code) [AU]:US
        State or Province Name (full name) [Some-State]:MN
        Locality Name (eg, city) []:Minneapolis
        Organization Name (eg, company) [Internet Widgits Pty Ltd]:Basho
    Technologies, Inc.
        Organizational Unit Name (eg, section) []:Nearly-Canadian office
        Common Name (eg, YOUR name) []:SLF
        Email Address []
    Step 3: Do the same but substitute "erlserver.pem"
        openssl req -new -x509 -key privkey.pem -out erlserver.pem -days 1095
    Step 4: Concatenate the private key with the two certificates
        cat privkey.pem >> erlclient.pem
        cat privkey.pem >> erlserver.pem
    Step 5: Copy certificate files to Riak etc dir
        cp /path/to/generated/erl*.pem /etc/riak/directory
    ... or this path for Solaris users:
        cp /path/to/generated/erl*.pem /opt/riak/etc
    Step 6: Add the following to each Riak node's etc/vm.args file:
        -proto_dist inet_ssl
        -ssl_dist_opt client_certfile "/etc/riak/erlclient.pem"
        -ssl_dist_opt server_certfile "/etc/riak/erlserver.pem"
    ... or these paths for Solaris users:
        -proto_dist inet_ssl
        -ssl_dist_opt client_certfile "/opt/riak/etc/erlclient.pem"
        -ssl_dist_opt server_certfile "/opt/riak/etc/erlserver.pem"
Commits on Apr 20, 2011
  1. @slfritchie

    Add new OTP app env vars to riak_core: platform_*_dir

    slfritchie authored
    These config items are here for a couple of purposes.  First, to figure
    out how the !@#$! rebar manages its overlay feature and text substitution.
    I'll be (ab)using that feature later.  Second, until now there has been no
    platform-neutral way to find the full path to Riak's etc config files or
    its data dir.  These new environment variables pave the way for making
    those paths accessible to Erlang code:
     %% Riak Core config
     {riak_core, [
                  %% ...
                  %% Platform-specific installation paths (substituted by rebar)
                  {platform_bin_dir, "{{platform_bin_dir}}"},
                  {platform_data_dir, "{{platform_data_dir}}"},
                  {platform_etc_dir, "{{platform_etc_dir}}"},
                  {platform_lib_dir, "{{platform_lib_dir}}"},
                  {platform_log_dir, "{{platform_log_dir}}"}
                  %% ...
Commits on Apr 11, 2011
  1. @argv0
Commits on Apr 6, 2011
  1. @argv0

    update THANKS file

    argv0 authored
Commits on Apr 5, 2011
  1. @argv0
Commits on Apr 4, 2011
  1. @argv0
Commits on Mar 28, 2011
  1. @Vagabond

    Print riak-admin usage when command has wrong number of parameters

    Vagabond authored
    This prevents function_clause errors being triggered in riak_kv_console
    when the user incorrectly passes or omits a parameter.
Commits on Mar 17, 2011
  1. @slfritchie
Commits on Feb 22, 2011
  1. @dizzyd
Commits on Feb 16, 2011
  1. @dizzyd
  2. @dizzyd
  3. @seancribbs
Commits on Feb 14, 2011
  1. @dizzyd

    Revert "Output dist tarballs to package/packages like every other pac…

    dizzyd authored
    …kaging mechanism."
    This reverts commit b414302.
  2. @dizzyd
  3. @dizzyd
  4. @dizzyd
  5. @dizzyd

    Fix Solaris identification to compensate for Oracle's changes to

    dizzyd authored
    /etc/release on most releases of Solaris 10.
Commits on Feb 11, 2011
  1. @dizzyd

    Add ERLANG_BIN var to track location of Erlang when building debs.

    dizzyd authored
    This change enables us to have erlang installed outside of /usr/bin
    when building debs, which is necessary to support multiple versions of
    Erlang for packaging.
Commits on Feb 7, 2011
  1. @slfritchie
  2. @kellymclaughlin

    Add usage message for riak-admin cluster_info command in the riak-adm…

    kellymclaughlin authored
    …in script to be consistent with the way usage messages are handled by other commands.
Commits on Feb 4, 2011
  1. @slfritchie

    Add riak_sysmon app

    slfritchie authored
Commits on Feb 2, 2011
  1. @slfritchie
  2. @slfritchie
Commits on Feb 1, 2011
  1. @slfritchie
  2. @slfritchie
  3. @slfritchie
  4. @slfritchie
Commits on Jan 31, 2011
  1. @beerriot

    Merge branch 'riak-0.14'

    beerriot authored
Commits on Jan 28, 2011
  1. @slfritchie
  2. @slfritchie
  3. @slfritchie
  4. @slfritchie
  5. @slfritchie
Commits on Jan 26, 2011
  1. @beerriot

    expose ability to reset specific JS VM pool (bz://982)

    beerriot authored
    if no pool is specified, then all pools are reloaded
Commits on Jan 24, 2011
  1. long-overdue updating of THANKS file

    Mark Phillips authored
Something went wrong with that request. Please try again.