Nguyen,

If you haven't figured this out yet, make sure to put "-smp enabled" in the 
vm.args file and then let us know how it works out.  Innostore will not work on 
a non-SMP Erlang VM.

Sean Cribbs <[email protected]>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Apr 14, 2010, at 9:34 AM, Nguyen Kien Trung wrote:

> I'll try and let you know. I was running Riak on a UbuntujLinux Image on 
> VirutalBox. Not sure it makes any difference.
> 
> On Tue, Apr 13, 2010 at 3:01 AM, Sean Cribbs <[email protected]> wrote:
> Nguyen,
> 
> Sorry for the delay in responding.  I've tried your configuration and I can't 
> reproduce the error.  Can you try again with a clean installation and let us 
> know?
> 
> Sean Cribbs <[email protected]>
> Developer Advocate
> Basho Technologies, Inc.
> http://basho.com/
> 
> On Apr 8, 2010, at 9:25 AM, Nguyen Kien Trung wrote:
> 
>> I've encountered this error:
>> 
>> 
>> =INFO REPORT==== 7-Apr-2010::21:04:24 ===
>> Spidermonkey VM host starting (<0.112.0>)
>> Eshell V5.7.5  (abort with ^G)
>> ([email protected])1> 
>> =ERROR REPORT==== 7-Apr-2010::21:05:20 ===
>> Skipping config setting included_applications; unknown option.
>> InnoDB: Mutexes and rw_locks use GCC atomic builtins
>> 100407 21:05:20  InnoDB: highest supported file format is Barracuda.
>> 100407 21:05:20 Embedded InnoDB 1.0.6.6750 started; log sequence number 56874
>> And after that, i was unable to invoke http://localhost:8098/riak/test
>> 
>> Not sure what cause this but it works fine with DTS or ETS backend.
>> 
>> Here's my app.config
>> 
>> 
>> %% -*- mode: erlang -*-
>> [
>>  %% Riak config
>>  {riak, [
>>          %% storage_backend specifies the Erlang module defining the storage 
>> mechanism
>>          %%  that will be used on this node.
>>          %% {storage_backend, riak_dets_backend},
>>          {storage_backend, innostore_riak},
>> 
>>          %% Different storage backends can use other configuration 
>> variables.  For
>>          %%  instance, riak_dets_backend_root determines the directory under 
>> which
>>          %%  dets files will be placed.
>>          %% {riak_dets_backend_root, "data/dets"},
>> 
>>          %% Default location of ringstate
>>          {ring_state_dir, "data/ring"},
>> 
>>          %% riak_web_ip is the IP address that Riak's HTTP interface will 
>> bind to.
>>          %%  If this is undefined, the HTTP interface will not run.
>>          {riak_web_ip, "0.0.0.0"},
>> 
>>          %% riak_web_port is the TCP port that Riak's HTTP interface will 
>> bind to.
>>          {riak_web_port, 8098},
>> 
>>          %% riak_handoff_port is the TCP port that Riak uses for 
>> intra-cluster
>>          %% data handoff.
>>          {riak_handoff_port, 8099},
>> 
>>          %% mapred_name is URL used to submit map/reduce requests to Riak.
>>          {mapred_name, "mapred"},
>> 
>>          %% js_vm_count is the number of Javascript VMs to start per Riak 
>> node.
>>          %% 8 is a good default for smaller installations. A larger number 
>> like
>>          %% 12 or 16 is appropriate for installations handling lots of 
>> map/reduce
>>          %% processing.
>>          {js_vm_count, 8},
>> 
>>          %% js_source_dir should point to a directory containing Javascript 
>> source
>>          %% files which will be loaded by Riak when it initializes 
>> Javascript VMs.
>>          %{js_source_dir, "/tmp/js_source"}
>>          
>>          
>>          %% riak_stat enables the use of the "riak-admin status" command to 
>>          %% retrieve information the Riak node for performance and debugging 
>> needs
>>          {riak_stat, true}
>>         ]},
>> 
>>  %% SASL config
>>  {sasl, [
>>          {sasl_error_logger, {file, "log/sasl-error.log"}},
>>          {errlog_type, error},
>>          {error_logger_mf_dir, "log/sasl"},      % Log directory
>>          {error_logger_mf_maxbytes, 10485760},   % 10 MB max file size
>>          {error_logger_mf_maxfiles, 5}           % 5 files max
>>          ]},
>>   {innostore, [
>>     {data_home_dir, "data/innodb"}, %% Where data files go
>>    {log_group_home_dir, "data/innodb"}, %% Where log files go
>>     {buffer_pool_size, 104857600} %% 100MB in-memory buffer in bytes
>>   ]}
>> ].
>> 
>> Many thanks,
>> 
>> -- 
>> --Trung
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> 
> 
> -- 
> --Trung

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to