New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init file overwrites configuration file #131
Comments
Hi Mehran, Have you created the Warp10 config file on your own before the first start ? |
Hi David, We are trying to write a script to setup and run Warp10 standalone in our system using init file. Second test, I changed path to LevelDB in my existing running instance and created all the files and folders in new path and removed old folder. This way Warp10 couldn't find new path and it created that folder again and LevelDB created its own file there as well. init output:
Then I added new path where |
Patch is in progress.. :) |
Thanks, And what about template? If it's set in template but there is still no configuration? I would like to know to create a custom setup, should we edit init file or template? |
In template, we have: leveldb.home = ${standalone.home}/data |
Since you are working on this init file, we came up with another bug :D edit: We expected to stop running Quantum by setting that parameter as false. |
Yes, the name is quite ambiguous. |
That's actually better . Another one :D |
Thanks Mehran. |
When you update the leveldb_home parameter, do not forget to update the LEVELDB_HOME variable in snapshot.sh. |
Problem is that init file is overwriting some parameters which we expect to set them in configuration file. e.g. LevelDB home folder.
After setting
leveldb.home = /some/where/else/data
in configuration file, our Warp10 instance failed. After investigation we found out that this parameter is overwritten in init file. But since I'm not sure what is the process and order of running LevelDB, I couldn't decide what should be the general solution.In our case we introduced another parameter in init file to have the same value as configuration there.
If only by having these kind of parameters in configuration file, Warp10 platform can work properly, then they should be not set in init file again, when the configuration file exists.
The text was updated successfully, but these errors were encountered: