Hi,
I cant get riak to work when changing default data directory to
/data/riak. I am using the current realease for ubunt\u
%% Platform-specific installation paths (substituted by
rebar)
{platform_bin_dir, "/usr/sbin"},
{platform_data_dir, "/data/riak"},
{platform_etc_dir, "/etc/riak"},
{platform_lib_dir, "/usr/lib/riak"},
{platform_log_dir, "/var/log/riak"}
Everytime I start the service it crashes. Tee volume is there. Attached
and formatted at boot. I can write /data/riak. After a chef boot etc I
restart riak so riak should know that path is there to store data. I
format the volume as follows. mkfs.ext3 /dev/vdb and mount /data/riak even
before riak is installed.
Below is the head of the console.log file. First error is "Failed to
create ~p for mapred_queue_dir defaulting to %s: ~p"
["/data/riak/mr_queue","/tmp/mr_queue",eacces]
2012-12-18 04:36:22.583 [warning]
<0.148.0>@riak_core_ring_manager:reload_ring:231 No ring file available.
2012-12-18 04:36:22.755 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_core,vnode_routing} = proxy
2012-12-18 04:36:22.763 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_core,staged_joins} = true
2012-12-18 04:36:22.773 [info] <0.7.0> Application riak_core started on
node '[email protected]'
2012-12-18 04:36:22.828 [info] <0.278.0>@riak_core:wait_for_application:425
Waiting for application riak_pipe to start (0 seconds).
2012-12-18 04:36:22.829 [info] <0.7.0> Application riak_pipe started on
node '[email protected]'
2012-12-18 04:36:22.876 [info] <0.289.0>@riak_core:wait_for_service:445
Waiting for service riak_kv to start (0 seconds)
2012-12-18 04:36:22.929 [info] <0.301.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.301.0>)
2012-12-18 04:36:22.933 [info] <0.278.0>@riak_core:wait_for_application:419
Wait complete for application riak_pipe (0 seconds)
2012-12-18 04:36:22.934 [info] <0.302.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.302.0>)
2012-12-18 04:36:22.952 [info] <0.303.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.303.0>)
2012-12-18 04:36:22.965 [info] <0.304.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.304.0>)
2012-12-18 04:36:22.967 [info] <0.309.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.309.0>)
2012-12-18 04:36:22.970 [info] <0.316.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.316.0>)
2012-12-18 04:36:22.983 [info] <0.323.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.323.0>)
2012-12-18 04:36:22.988 [info] <0.436.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_map) host starting
(<0.436.0>)
2012-12-18 04:36:22.993 [info] <0.438.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_reduce) host
starting (<0.438.0>)
2012-12-18 04:36:23.002 [info] <0.439.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_reduce) host
starting (<0.439.0>)
2012-12-18 04:36:23.004 [info] <0.440.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_reduce) host
starting (<0.440.0>)
2012-12-18 04:36:23.009 [info] <0.441.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_reduce) host
starting (<0.441.0>)
2012-12-18 04:36:23.015 [info] <0.442.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_reduce) host
starting (<0.442.0>)
2012-12-18 04:36:23.020 [info] <0.443.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_reduce) host
starting (<0.443.0>)
2012-12-18 04:36:23.025 [info] <0.445.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_hook) host starting
(<0.445.0>)
2012-12-18 04:36:23.030 [info] <0.446.0>@riak_kv_js_vm:init:76 Spidermonkey
VM (thread stack: 16MB, max heap: 8MB, pool: riak_kv_js_hook) host starting
(<0.446.0>)
2012-12-18 04:36:23.038 [warning]
<0.448.0>@riak_kv_map_master:init_data_dir:256 FORMAT ERROR: "Failed to
create ~p for mapred_queue_dir defaulting to %s: ~p"
["/data/riak/mr_queue","/tmp/mr_queue",eacces]
2012-12-18 04:36:23.073 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_kv,vnode_vclocks} = true
2012-12-18 04:36:23.088 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_kv,legacy_keylisting} = false
2012-12-18 04:36:23.100 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_kv,listkeys_backpressure} = true
2012-12-18 04:36:23.105 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_kv,mapred_system} = pipe
2012-12-18 04:36:23.115 [info]
<0.154.0>@riak_core_capability:process_capability_changes:529 New
capability: {riak_kv,mapred_2i_pipe} = true
2012-12-18 04:36:23.147 [info] <0.542.0>@riak_core:wait_for_application:425
Waiting for application riak_kv to start (0 seconds).
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com