首页 > 解决方案 > 在 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

谢谢

标签: neo4jgraphenedbgraph-data-science

解决方案


在石墨烯支持来回几周后,配置更改已经完成。他们将很快添加对 GDS 插件的支持作为其基本映像的一部分,但在此之前,您可能仍需要请求他们为您修补数据库并将其添加为存储过程。


推荐阅读