| Gehel added a project: Discovery-Wikidata-Query-Service-Sprint. Gehel added a comment. |
Ideally, I'd like to have the data directory entirely configurable from puppet. At the moment, this is managed through symlinks declared both in puppet and in scap configuration. We should be able to simplify this by:
- moving RWStore.properties to /etc/wdqs/RWStore.properties, under puppet control
- use a template to generate journal file location: com.bigdata.journal.AbstractJournal.file=<%= @data_dir %>/wikidata.jnl
- modify runBlazegraph.sh to use this new configuration file: -Dcom.bigdata.rdf.sail.webapp.ConfigParams.propertyFile=/etc/wdqs/RWStore.properties
- remove /srv/deployment/wdqs/wdqs/wikidata.jnl symlink
Additional cleanup (nice but not absolutely necessary at this point):
- externalize log4j configuration from blazegraph-service-*-dist.war, or at least the path to the rules.log file. This could be done in different ways:
- -Dlog4j.configurationFile=/etc/wdqs/blazegraph-log4j.xml added to JVM options
- use of environment variables for the path of the log file
- use an include in the log4j configuration inside of the blazegraph war
- remove /srv/deployment/wdqs/wdqs/rules.log symlink
All those changes would move some part of the configuration outside of the wdqs-deploy repo and thus outside of the full control of developers. It might have impact to the way developers work on wdqs.
TASK DETAIL
EMAIL PREFERENCES
To: Gehel
Cc: Gehel, Aklapper, Smalyshev, mschwarzer, MelodyKramer, Avner, debt, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, faidon, Mbch331, Jay8g
Cc: Gehel, Aklapper, Smalyshev, mschwarzer, MelodyKramer, Avner, debt, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, faidon, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
