本文介绍了星火是否有Graphx像可视化Gephi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我是新来绘制的世界。我被分配到图形处理工作,现在我知道了Apache的星火所以想到用它Graphx处理大型图形。然后,我遇到了Gephi提供了良好的GUI操作图。请问Graphx有这样的工具,或主要是并行图形处理库。我可以导入JSON图形数据Gephi走进graphx?请指导。我知道,这是基本的,但有效的问题。提前致谢。

Hi I am new to graph world. I have been assigned to work on graph processing now I know Apache Spark so thought of using it Graphx to process large graph. Then I came across Gephi provides nice GUI to manipulate graphs. Does Graphx have such tools or it is mainly parallel graph processing library. Can I import json graph data came from Gephi into graphx? Please guide. I know It's basic but valid question. Thanks in advance.

推荐答案

添加到,你可以一试Graphlab

Adding to that you can as well try Graphlabhttps://dato.com/products/create/open_source.html

它直接支持星火RDD

没有太多的工作。

from pyspark import SparkContext
import graphlab as gl

sc = SparkContext('yarn-client')

t = sc.textFile("hdfs://some/large/file")
sf = gl.SFrame.from_rdd(t)

# do stuff...

out_rdd = sf.to_rdd(sc)

这篇关于星火是否有Graphx像可视化Gephi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 00:38