In order to use mc-loader you must first make sure that you have the software packages that mc-laoder runs on. These packages are below.
If you don't already have these software packages you can execute the following commands in order to get them.
To install libevent do the following:
tar zxpfv libevent*
To install memcached do the following:
(Note: check memcached.org for the latest version of memcached)
tar zxpfv memcached*
To install libmemcached do the following:
tar xzf libmemcached-0.43.tar.gz
To install cyrus-sasl:
yum install cyrus-sasl-devel
mc-loader <server>:<port> <keyset> [check] [binary] [valuesize size] [sasl username:password]
To load a key set into memcached or membase with 1024 byte keys:
mc-loader <server>:<port> <keyset file path> binary 1024
To check a key set that has already been loaded:
mc-loader <server>:<port> <keyset file path> check binary 1024