https://zenn.dev/voluntas/articles/erlang-source-code-install
#!/usr/bin/env escript | |
%% -*- coding: utf-8 -*- | |
%%! -pa /usr/lib64/riak-cs/lib/riakc-1.4.1/ebin /usr/lib64/riak-cs/lib/riak_pb-1.4.4.0/ebin /usr/lib64/riak-cs/lib/protobuffs-0.8.1/ebin /usr/lib64/riak-cs/lib/riak_cs-1.4.5/ebin /usr/lib/riak-cs/lib/riakc-1.4.1/ebin /usr/lib/riak-cs/lib/riak_pb-1.4.4.0/ebin /usr/lib/riak-cs/lib/protobuffs-0.8.1/ebin /usr/lib/riak-cs/lib/riak_cs-1.4.5/ebin | |
%%! -pa /usr/lib64/riak-cs/lib/riakc-1.3.1.1/ebin /usr/lib64/riak-cs/lib/riak_pb-1.3.0/ebin /usr/lib64/riak-cs/lib/protobuffs-0.8.0/ebin /usr/lib/riak-cs/lib/riakc-1.3.1.1/ebin /usr/lib/riak-cs/lib/riak_pb-1.3.0/ebin /usr/lib/riak-cs/lib/protobuffs-0.8.0/ebin /usr/lib/riak-cs/ebin | |
%%! -pa /Users/kelly/basho/repos/riak_cs/deps/riakc/ebin /Users/kelly/basho/repos/riak_cs/deps/riak_pb/ebin /Users/kelly/basho/repos/riak_cs/deps/protobuffs/ebin /Users/kelly/basho/repos/riak_cs/deps/riakc/ebin /Users/kelly/basho/repos/riak_cs/deps/riak_pb/ebin /Users/kelly/basho/repos/riak_cs/deps/protobuffs/ebin /Users/kelly/basho/repos/riak_cs/dep |
Purpose: To prevent scheduler collapse by disabling scheduler sleep periods. | |
This patch is relative to R16B01 pre-release but may be applied (with "fuzz") | |
on R15B01 and R15B03-1 without difficulty. | |
The new flag, "+zdss", must be used with "+scl false" flag to be successful. | |
See the erl.xml document for a description. Example use: | |
erl +scl false +zdss 500:500 | |
Note that this flag used to be called "+zdnfgtse" |
FAIL: s3tests.functional.test_s3.test_object_read_notexist | |
FAIL: s3tests.functional.test_s3.test_object_set_get_non_utf8_metadata | |
FAIL: s3tests.functional.test_s3.test_object_set_get_metadata_empty_to_unreadable_prefix | |
FAIL: s3tests.functional.test_s3.test_object_set_get_metadata_empty_to_unreadable_suffix | |
FAIL: s3tests.functional.test_s3.test_object_set_get_metadata_empty_to_unreadable_infix | |
FAIL: s3tests.functional.test_s3.test_object_set_get_metadata_overwrite_to_unreadable_prefix | |
FAIL: s3tests.functional.test_s3.test_object_set_get_metadata_overwrite_to_unreadable_suffix | |
FAIL: s3tests.functional.test_s3.test_object_set_get_metadata_overwrite_to_unreadable_infix | |
FAIL: s3tests.functional.test_s3.test_object_raw_response_headers | |
FAIL: s3tests.functional.test_s3.test_object_raw_authenticated_object_acl |
#!/usr/local/bin/python | |
import sys | |
import json | |
import csv | |
import riak | |
#client = riak.RiakClient() | |
cl = riak.RiakClient(host=YOURHOST, pb_port=YOUR_PB_PORT, protocol='pbc') | |
b = cl.bucket('records_rb') |
When you build Erlang/OTP on OS X, it unfortunately defaults to handling a maximum of 1024 file descriptors. You can get around this limitation with the right combination of configuration options and manual changes to a generated config file.
First, go into your unpacked Erlang/OTP source directory and run the following command, replacing the value 10000 with whatever value you want for max file descriptors:
perl -i -pe 's/(define\s+FD_SETSIZE\s+)\d+/\1 10000/' erts/config.h.in
Next, when you run configure
in your Erlang/OTP source directory, be sure to include the right CFLAGS
setting, as shown below:
CFLAGS='-DREDEFINE_FD_SETSIZE -DFD_SETSIZE=15000 -D_DARWIN_UNLIMITED_SELECT' ./configure --enable-kernel-poll <other options>
#Riak Multi DC Repl Cheat Sheet
##Types There are two types of multi data center replication in Riak.
-
Fullsync
Operation is triggered by connection creation between clusters, running
riak-repl start-fullsync
on the listener leader, or every fullsync_interval minutes. Relevant app.config settings: