Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add base config for eleveldb driver

  • Loading branch information...
commit f9ebb1554e0b36e1b08b58f81970d398e1a95ac7 1 parent dadd5fe
@dizzyd dizzyd authored
View
1  package/deb/vars.config
@@ -6,6 +6,7 @@
{pb_ip, "127.0.0.1"}.
{pb_port, 8087}.
{bitcask_data_root, "/var/lib/riak/bitcask"}.
+{leveldb_data_root, "/var/lib/riak/leveldb"}.
{sasl_error_log, "/var/log/riak/sasl-error.log"}.
{sasl_log_dir, "/var/log/riak/sasl"}.
View
2  package/rpm/SPECS/riak.spec
@@ -36,6 +36,7 @@ cat > rel/vars.config <<EOF
{pb_ip, "127.0.0.1"}.
{pb_port, 8087}.
{bitcask_data_root, "%{_localstatedir}/lib/%{name}/bitcask"}.
+{leveldb_data_root, "%{_localstatedir}/lib/%{name}/leveldb"}.
{sasl_error_log, "%{_localstatedir}/log/%{name}/sasl-error.log"}.
{sasl_log_dir, "%{_localstatedir}/log/%{name}/sasl"}.
{mapred_queue_dir, "%{_localstatedir}/lib/%{name}/mr_queue"}.
@@ -69,6 +70,7 @@ mkdir -p %{buildroot}%{riak_lib}
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/dets
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/bitcask
+mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/leveldb
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/ring
mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
mkdir -p %{buildroot}%{_localstatedir}/log/%{name}/sasl
View
5 rel/files/app.config
@@ -145,6 +145,11 @@
{data_root, "{{bitcask_data_root}}"}
]},
+ %% eLevelDB Config
+ {eleveldb, [
+ {data_root, "{{leveldb_data_root}}"}
+ ]},
+
%% Luwak Config
{luwak, [
{enabled, false}
View
1  rel/vars.config
@@ -11,6 +11,7 @@
{pb_ip, "127.0.0.1"}.
{pb_port, 8087}.
{bitcask_data_root, "data/bitcask"}.
+{leveldb_data_root, "data/leveldb"}.
{sasl_error_log, "log/sasl-error.log"}.
{sasl_log_dir, "log/sasl"}.
{mapred_queue_dir, "data/mr_queue"}.
View
1  rel/vars/dev1_vars.config
@@ -11,6 +11,7 @@
{pb_ip, "127.0.0.1"}.
{pb_port, 8081}.
{bitcask_data_root, "data/bitcask"}.
+{leveldb_data_root, "data/leveldb"}.
{sasl_error_log, "log/sasl-error.log"}.
{sasl_log_dir, "log/sasl"}.
{mapred_queue_dir, "data/mr_queue"}.
View
1  rel/vars/dev2_vars.config
@@ -11,6 +11,7 @@
{pb_ip, "127.0.0.1"}.
{pb_port, 8082}.
{bitcask_data_root, "data/bitcask"}.
+{leveldb_data_root, "data/leveldb"}.
{sasl_error_log, "log/sasl-error.log"}.
{sasl_log_dir, "log/sasl"}.
{mapred_queue_dir, "data/mr_queue"}.
View
1  rel/vars/dev3_vars.config
@@ -11,6 +11,7 @@
{pb_ip, "127.0.0.1"}.
{pb_port, 8083}.
{bitcask_data_root, "data/bitcask"}.
+{leveldb_data_root, "data/leveldb"}.
{sasl_error_log, "log/sasl-error.log"}.
{sasl_log_dir, "log/sasl"}.
{mapred_queue_dir, "data/mr_queue"}.
View
1  rel/vars/dev4_vars.config
@@ -11,6 +11,7 @@
{pb_ip, "127.0.0.1"}.
{pb_port, 8084}.
{bitcask_data_root, "data/bitcask"}.
+{leveldb_data_root, "data/leveldb"}.
{sasl_error_log, "log/sasl-error.log"}.
{sasl_log_dir, "log/sasl"}.
{mapred_queue_dir, "data/mr_queue"}.
Please sign in to comment.
Something went wrong with that request. Please try again.