neo4j - 在 grapheneDB 上正确配置图形数据科学插件
问题描述
我有一个在 neo4j 桌面本地与插件完全配合的图表。我已经在我的 grapheneDB 实例中复制了该图中的所有内容。当我收到错误时,我无法使用 gds 程序:
gds.proc... is unavailable because it is sandboxed and has dependencies outside of the sandbox. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only unrestrict procedures you can trust with access to database internals.
我知道要解决这个问题,我需要将这两行添加到 config/properties 文件中:
dbms.security.procedures.unrestricted=apoc.*,gds.*
dbms.security.procedures.whitelist=apoc.*,gds.*
我只是不知道如何在 grapheneDB 上做到这一点,我已经阅读了我能找到的所有文档。
我尝试通过添加 jar 文件作为存储过程添加 gds 插件,然后将其添加为带有 zip 文件的服务器扩展,该 zip 文件包含 jar 文件和上面在 neo4j-server.properties 文件中提到的两个配置行。
当添加为服务器扩展时,我可以告诉 neo4j 根本没有找到 gds 插件。我只是缺少属性文件中的位置吗?还是我在存储过程上传方法中遗漏了一些明显的东西?
使用开发免费层 graphenedb、Neo4j 社区版 3.5.17 和图形数据科学 1.1.1
谢谢
解决方案
在石墨烯支持来回几周后,配置更改已经完成。他们将很快添加对 GDS 插件的支持作为其基本映像的一部分,但在此之前,您可能仍需要请求他们为您修补数据库并将其添加为存储过程。
推荐阅读
- c - 将两个无符号整数相乘为无符号整数
- javascript - 将数据插入弹出窗口(需要帮助)
- android - Android studio 无法检测到 res/drawable 中的源文件
- python - 如何根据另一个列表的值将 1 添加到列表中,这给出了 1 应该去的位置
- asp.net-core - 如何制作一种验证 cookie 身份验证的方法?ASP.NET 核心 3.1
- xsd - XSD 验证具有不同内容的相同元素名称
- azure - 无法在 Azure CLI 中为 Azure Function 设置 functionAppScaleLimit 设置
- php - php:将变量(用户从单选按钮选择)获取到另一个文件
- amazon-web-services - 如何修复在本地服务器上正常运行但部署到 AWS 后无法运行的程序?
- javascript - 我应该为 Electron 应用程序中使用的授权调用使用什么重定向 URI?