wget http://s3.amazonaws.com/downloads.basho.com/erlang/otp_src_R16B02-basho8.tar.gz tar zxvf otp_src_R16B02-basho8.tar.gz cd OTP_R16B02_basho8/ ./otp_build autoconf CFLAGS="-DOPENSSL_NO_EC=1" ./configure && make && sudo make install
Key: (C) = Claimant; availability marked with '!' is unexpected #./dev3/bin/riak start #./dev3/bin/riak-admin cluster status ---- Cluster Status ---- Ring ready: true
#./dev2/bin/riak-admin cluster join[email protected] Success: staged join request for '[email protected]' to '[email protected]' #./dev2/bin/riak-admin cluster plan =============================== Staged Changes ================================ Action Details(s) ------------------------------------------------------------------------------- join '[email protected]' -------------------------------------------------------------------------------
NOTE: Applying these changes will result in 1 cluster transition ############################################################################### After cluster transition 1/1 ###############################################################################
WARNING: Not all replicas will be on distinct nodes
Transfers resulting from cluster changes: 32 32 transfers from '[email protected]' to '[email protected]' #./dev2/bin/riak-admin cluster commit Cluster changes committed #./dev2/bin/riak-admin cluster status ---- Cluster Status ---- Ring ready: true
#./dev3/bin/riak-admin cluster join[email protected] Success: staged join request for '[email protected]' to '[email protected]' #./dev3/bin/riak-admin cluster status ---- Cluster Status ---- Ring ready: true
Key: (C) = Claimant; availability marked with '!' is unexpected #./dev3/bin/riak-admin cluster plan =============================== Staged Changes ================================ Action Details(s) ------------------------------------------------------------------------------- join '[email protected]' -------------------------------------------------------------------------------
NOTE: Applying these changes will result in 1 cluster transition ############################################################################### After cluster transition 1/1 ###############################################################################
WARNING: Not all replicas will be on distinct nodes
Transfers resulting from cluster changes: 21 10 transfers from '[email protected]' to '[email protected]' 11 transfers from '[email protected]' to '[email protected]' #./dev3/bin/riak-admin cluster commit Cluster changes committed #./dev3/bin/riak-admin cluster status ---- Cluster Status ---- Ring ready: true
# implied. See the License for the specific language governing # permissions and limitations under the License. See accompanying # LICENSE file. # # RiakKVClient - Default Properties # Note: Change the properties below to set the values to use for your test. You can set them either here or from the # command line. Note that the latter choice overrides these settings. # riak.hosts - string list, comma separated list of IPs or FQDNs. # EX: 127.0.0.1,127.0.0.2,127.0.0.3 or riak1.mydomain.com,riak2.mydomain.com,riak3.mydomain.com riak.hosts=127.0.0.1 # riak.port - int, the port on which every node is listening. It must match the one specified in the riak.conf file # at the line "listener.protobuf.internal". riak.port=10017 # riak.bucket_type - string, must match value of bucket type created during setup. See readme.md for more information riak.bucket_type=ycsb # riak.r_val - int, the R value represents the number of Riak nodes that must return results for a read before the read # is considered successful. riak.r_val=3 # riak.w_val - int, the W value represents the number of Riak nodes that must report success before an update is # considered complete. riak.w_val=3 # riak.read_retry_count - int, number of times the client will try to read a key from Riak. riak.read_retry_count=5 # riak.wait_time_before_retry - int, time (in milliseconds) the client waits before attempting to perform another # readif the previous one failed. riak.wait_time_before_retry=200 # riak.transaction_time_limit - int, time (in seconds) the client waits before aborting the current transaction. riak.transaction_time_limit=10 # riak.strong_consistency - boolean, indicates whether to use strong consistency (true) or eventual consistency (false). riak.strong_consistency=true
之后,再将jar包重新打包,如果出错则去掉m使用jar -cvf:
1
jar -cvfm riak-binding-0.17.0.jar riak.properties META-INF/MANIFEST.MF site