我使用 fulgora 图计算机在具有 titan 图的集群上执行 count 方法,并得到以下常见错误:
Frame size (20769719) larger than max length (15728640)!
这可以通过在配置文件中指定来纠正:
storage.cassandra.frame-size-mb=60
但是,当在指向相同数据的 hadoop 图上使用 SparkGraphComputer 时,我收到相同的错误。我已经尝试了所有这些设置,但没有一个起作用:
titanmr.ioformat.conf.storage.cassandra.frame-size-mb=60
titanmr.ioformat.conf.storage.cassandra.frame-size=60
titan.hadoop.input.conf.storage.cassandra.thrift.frame-size=60
titan.hadoop.input.conf.storage.cassandra.thrift.frame-size-mb=60
storage.cassandra.thrift.frame-size=60
storage.cassandra.thrift.frame-size-mb=60
有人知道当前正确的设置吗?
最佳答案
当您进行 OLAP 时,Cassandra 读取路径会有所不同,因此这就是使用 Titan 设置 storage.cassandra.frame-size-mb
不起作用的原因。尝试此 Cassandra 设置:cassandra.thrift.framed.size_mb
。默认为 15 MB。
引用文献:
关于cassandra - 在 Titan-1.1.0-SNAPSHOT 中增加 thrift 帧大小的正确配置是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38721958/