Storing and reading connected component RDD through OutputFormatRDD & InputFormatRDD
Hi All, I see in tinker-pop library we have OutputFormatRDD to save data. I tired outputFormatRDD.writeGraphRDD(graphComputerConfiguration, uniqueRDD); ## connected but its throwing class cast exception as connected component vertex program output RDD value is a list which can not be cast to VertexWritable
outputFormatRDD.writeMemoryRDD(graphComputerConfiguration, "memoryKey", uniqueRDD); ## Its saving RDD by creating memory key folder name at output location.
Thanks, |
|
hadoopmarc@...
Hi Anjani,
The following section of the TinkerPop ref docs gives an example of how to reuse the output RDD of one job in a follow-up gremlin OLAP job. https://tinkerpop.apache.org/docs/3.4.10/reference/#interacting-with-spark Best wishes, Marc |
|