erlang compile

2015-01-16 Thread Ildar Alishev
Hello everyone! Would like to ask. Found on http://docs.basho.com/riak/latest/ops/advanced/install-custom-code/ that i should find and add data in app.config ok, where i can find it i have this conf file in my rebar,

Re: erlang compile

2015-01-16 Thread Sargun Dhillon
So, you need to set add_paths as a runtime option, once you compile the Erlang program into beam files (perhaps with a .app) so that Riak can load your code. Have you already compiled your program with the Erlang compiler that comes with your version of Riak? Which version of Riak are you using? In

Re: erlang compile

2015-01-16 Thread Ildar alishev
Hello! You mean have i compiled already RIAK with erlang? I don't understand where this file stores (advanced.config). Should i just create it here /etc/riak/ ? Ildar 2015-01-16 12:32 GMT+03:00 Sargun Dhillon : > So, you need to set add_paths as a runtime option, once you compile > the

Riak CS Won't Start After Upgrade

2015-01-16 Thread Valenti, Anthony
I am in the process of upgrading the first node in my Riak CS cluster. Everything seemed to go ok on the install. There were some changes to the app.config and vm.args files in the new packages. I install the new versions from the packages and made the changes for my environment afterward. Wh

RE: Riak CS Won't Start After Upgrade

2015-01-16 Thread Valenti, Anthony
BTW, the components were upgraded to the following versions: Riak CS - 1.5.3 Riak - 1.4.10 Stanchion - 1.5.0 Anthony Inmar Confidentiality Note:  This e-mail and any attachments are confidential and intended to be viewed and used solely by the inten

RE: Riak CS Won't Start After Upgrade

2015-01-16 Thread Valenti, Anthony
Of course you have to have Riak started. It looked like it started normally, but then it failed. The error is complaining about an invalid storage backend, which didn't change. 2015-01-16 10:13:44.911 [info] <0.7.0> Application lager started on node 'riak@192.168.40.28' 2015-01-16 10:13:44.93

Re: Riak CS Won't Start After Upgrade

2015-01-16 Thread Luke Bakken
If your Riak CS version changed, ensure that add_paths points to the correct directory: http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-Riak/ There is a version string embedded in the path that will change on upgrades. -- Luke Bakken Engineer lbak...@basho.com On Fri, Ja

RE: Riak CS Won't Start After Upgrade

2015-01-16 Thread Valenti, Anthony
Thank you. That worked. I think that the rolling upgrade page needs to be changed to mention that. Step 6 does mention the add_paths, but it is not clear what needs to be changed. It mentions .beam files, but I had no idea what that is, if I am using them or what I should be changing. Antho

Re: Riak CS Won't Start After Upgrade

2015-01-16 Thread Luke Bakken
Hi Anthony, I have filed the following request to clarify this better in the documentation: https://github.com/basho/basho_docs/issues/1490 -- Luke Bakken Engineer lbak...@basho.com On Fri, Jan 16, 2015 at 9:59 AM, Valenti, Anthony wrote: > Thank you. That worked. I think that the rolling upg

Re: erlang compile

2015-01-16 Thread Drew Pirrone-Brusse
Ildar, Those instructions assume you already have an instance of Riak installed on the system you are using to compile new Erlang code. Unless you are planning on developing in Erlang and deploying custom modules for Riak operations, you shouldn't need to worry about those instructions. If you h

Re: erlang compile

2015-01-16 Thread Ildar Alishev
Dear Drew, Everything works fine now. thank you. Ildar. > 16 янв. 2015 г., в 23:37, Drew Pirrone-Brusse > написал(а): > > Ildar, > > Those instructions assume you already have an instance of Riak > installed on the system you are using to compile new Erlang code. > > Unless you are planning