Registry / other / spark-graphx-2-11

spark-graphx-2-11

JSON →
library2.4.8javamavenunverified

Graph processing library for Apache Spark, providing APIs for graph computation and analysis.

<dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-graphx_2.11</artifactId> <version>2.4.8</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-GRAPHX-2-11
S
spark-graphx-2-11
otherjavav2.4.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Graph
org.apache.spark.graphx.Graph

Create a simple graph with vertices and edges in Spark GraphX.

import org.apache.spark.graphx.Graph; import org.apache.spark.rdd.RDD; // Graph creation requires SparkContext; example assumes sc is available RDD<Object> vertices = sc.parallelize(Arrays.asList(1L, 2L)); RDD<Edge<Object>> edges = sc.parallelize(Arrays.asList(new Edge<>(1L, 2L, "friend"))); Graph<Object, Object> graph = Graph.apply(vertices, edges, "default", StorageLevel.MEMORY_ONLY(), StorageLevel.MEMORY_ONLY());
Debug
Known issues
gotchaGraphX is less actively developed than DataFrames; consider using GraphFrames for newer projects.
fix
Use GraphFrames library which provides DataFrame-based graph processing.
affects: >=2.0.0
Upgrade
Version history
2.4.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
spark-graphx-2-11 — mvn dependency:get spark-graphx-2-11 · libregistry