scala - 启动图形时出错 (DSEGraphFrame )
问题描述
我在验证/产品环境中有一个 dse 图。当我尝试在 Scala 中使用 Spark 启动 DSEGraphFrame 查询时,会出现问题。
val graph = spark.dseGraph("my_graph")
生成以下异常:
线程“主”com.datastax.driver.core.exceptions.InvalidQueryException 中的异常:方法 DseGraphRpc.getSchemaBlob 不存在。确保该方法所需的组件在 com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java 的 com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:40) 处处于活动状态/启用状态:26) 在 com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:284) 在 com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:49) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
我该怎么做才能正确运行 DSEGraphFrame?
解决方案
问题来自 dse 集群中的一个节点,该图未激活
推荐阅读
- javascript - VueJS 按特定属性对对象数组进行排序/排序
- c# - 为什么 C# Winforms GUI 字体在不同的桌面机器上会变成斜体?
- cmake - 如何处理具有 cmake 依赖关系的 autotools 项目?
- javascript - LocalStorage 和弹出窗口在 Windows pc 上不起作用
- excel - 我需要根据函数重新映射列
- firefox - 移动版 Firefox 插件如何从其桌面版接收信息?(如果两者都登录)
- roslyn-code-analysis - 分析器为编译单元创建多个诊断
- python - 在python中使用正则表达式拆分字符串
- java - 当我尝试使用另一个类的驱动程序实例识别当前类中的元素时,我得到 Null.pointer.exception
- wix - WiX 安装程序错误,关于已安装的较新版本