rdf - 如何更改 blazegraph 存储数据的目录?
问题描述
我正在尝试更改 blazegraph 存储其数据的目录。
现在,数据存储在/var/lib/blazegraph/blazegraph.jnl
我尝试更改 BLZG_DATA 中/etc/default/blazegraph
,/usr/bin/blazegraph
但数据仍存储在/var/lib/blazegraph/
.
我正在运行 ubuntu cosmic 和以下 blazegraph:
buildVersion=2.1.4
gitCommit=738d05f08cffd319233a4bfbb0ec2a858e260f9c
解决方案
在 Linux Debian 上的 Tomcat 中运行 Blazegraph 2.1.5 的解决方案
更改这些文件
./tomcat/webapps/blazegraph/WEB-INF/GraphStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=bigdata.jnl
./tomcat/webapps/blazegraph/WEB-INF/classes/RWStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=bigdata.jnl
至
./tomcat/webapps/blazegraph/WEB-INF/GraphStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=/your/desired/path/bigdata.jnl
./tomcat/webapps/blazegraph/WEB-INF/classes/RWStore.properties
line:12:com.bigdata.journal.AbstractJournal.file=/your/desired/path/bigdata.jnl
推荐阅读
- c# - Twilio 在没有请求状态的情况下以进行中响应?
- spring-boot - 从 Keycloak 权限自定义 ui
- typescript - 打字稿动态推断类型
- javascript - Node Express Res 发送文件
- c++ - 错误:无法转换 'std::complex
' 到 '__complex__ float' 在初始化 - bash - Bash Diff 忽略一行的更改
- python - 基于Python中的索引列表减去文本文件中的字符串
- visual-studio-extensions - Visual Studio 扩展中的 app.config?
- javascript - 如何在 NextJS 应用程序中从 Apollo 链接上下文访问 Express HTTP 请求?
- c# - 如何实现此事件以更新另一个表单上的文本框?