Date
1 - 1 of 1
Edge Filter in Janusgraph when working with Spark
rafi ansari <rafi1...@...>
Hi All, I am currently working on using Janusgraph in batch mode using Spark. I am facing a problem on filtering the edges by label. Below are the specifications: Spark = 2.4.5 Janusgraph = 0.5.0 Below is the configuration file for Spark: conf.setProperty("gremlin. conf.setProperty("gremlin. conf.setProperty("spark. conf.setProperty(" conf.setProperty(" conf.setProperty(" conf.setProperty(" conf.setProperty(" conf.setProperty(" conf.setProperty(" conf.setProperty(" conf.setProperty("cassandra. conf.setProperty("cassandra. conf.setProperty("spark. conf.setProperty("spark.kryo. Below is the Spark code using newAPIHadoopRDD getClass(Constants.GREMLIN_ asInstanceOf[Class[ The above lines give an RDD as output. res17: Array[String] = Array(v[8344], v[12440], v[4336], v[4320], v[4136], v[8416], v[8192], v[4248], v[4344], v[8432], v[12528], v[4096]) From the res17 above, not sure how to filter the edges by labels Following this link for working with vertices = > http://tinkerpop.apache.org/ TIA Regards Rafi |
|