【发布时间】:2020-08-03 14:52:34
【问题描述】:
我需要指定一个特定的工作池来运行 gremlin olap 查询。当我使用 gremlin 控制台或 datastax studio 运行 gremlin olap 查询时,它在默认池下运行(这不是我想要的)。我想在特定的工作池下运行 gremlin olap 查询,例如gremlin_olap 或者能够指定内存和执行器。我在 dse.yaml(在位置资源/dse/conf 中)和 olap.properties(在位置资源/graph/conf 中)尝试了一些设置,我重新启动了集群仍然无法强制使用 gremlin_olap 工作池.
olap.properties
spark.scheduler.pool=gremlin_olap
spark.executor.cores=2
spark.executor.memory=2g
dse.yaml
resource_manager_options:
worker_options:
cores_total: 0.7
memory_total: 0.6
workpools:
- name: alwayson_sql
cores: 0.25
memory: 0.25
- name: gremlin_olap
cores: 0.25
memory: 0.25
Gremlin 控制台 bin/dse gremlin-console
\,,,/
(o o)
-----oOOo-(3)-oOOo-----
plugin activated: tinkerpop.server
plugin activated: tinkerpop.tinkergraph
gremlin> :remote config alias g identity.a
==>g=identity.a
gremlin> g.V().groupCount().by(label)
==>{identity=50000}
gremlin>
我错过了什么吗?
【问题讨论】:
-
我使用的是 dse 6.8.0
标签: datastax datastax-enterprise datastax-enterprise-graph