如何使用 Python/pyspark 运行 graphx? [英] How do I run graphx with Python / pyspark?

查看:43
本文介绍了如何使用 Python/pyspark 运行 graphx?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 pyspark 通过 Python 运行 Spark graphx.我的安装看起来是正确的,因为我能够很好地运行 pyspark 教程和(Java)GraphX 教程.大概因为 GraphX 是 Spark 的一部分,pyspark 应该能够连接它,对吗?

这里是pyspark的教程:http://spark.apache.org/docs/0.9.0/quick-start.htmlhttp://spark.apache.org/docs/0.9.0/python-programming-指南.html

以下是 GraphX 的:http://spark.apache.org/docs/0.9.0/graphx-programming-指南.htmlhttp://ampcamp.berkeley.edu/big-data-mini-course/graph-analytics-with-graphx.html

任何人都可以将 GraphX 教程转换为 Python 吗?

解决方案

看起来 Python 与 GraphX 的绑定至少延迟到 Spark 1.4 1.5 ∞.它在 Java API 后面等待.

您可以在 SPARK-3789 GRAPHX Python bindings for GraphX - ASF JIRA 中跟踪状态>

I am attempting to run Spark graphx with Python using pyspark. My installation appears correct, as I am able to run the pyspark tutorials and the (Java) GraphX tutorials just fine. Presumably since GraphX is part of Spark, pyspark should be able to interface it, correct?

Here are the tutorials for pyspark: http://spark.apache.org/docs/0.9.0/quick-start.html http://spark.apache.org/docs/0.9.0/python-programming-guide.html

Here are the ones for GraphX: http://spark.apache.org/docs/0.9.0/graphx-programming-guide.html http://ampcamp.berkeley.edu/big-data-mini-course/graph-analytics-with-graphx.html

Can anyone convert the GraphX tutorial to be in Python?

解决方案

It looks like the python bindings to GraphX are delayed at least to Spark 1.4 1.5 ∞. It is waiting behind the Java API.

You can track the status at SPARK-3789 GRAPHX Python bindings for GraphX - ASF JIRA

这篇关于如何使用 Python/pyspark 运行 graphx?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆