java.lang.UnsupportedOperationException: Cannot change storage level of an RDD after it was already assigned a level


Solutions on the web5

Solution icon of github
via GitHub by blacknred0
, 8 months ago
Cannot change storage level of an RDD after it was already assigned a level

Solution icon of apache
via incubator-spark-user by prasad223, 1 year ago
Cannot change storage level of an RDD after it was already assigned a level

Solution icon of apache
via spark-user by prasad223, 1 year ago
Cannot change storage level of an RDD after it was already assigned a level

Solution icon of apache
via spark-user by prasad223, 1 year ago
Cannot change storage level of an RDD after it was already assigned a level

Solution icon of apache
via spark-user by prasad223, 1 year ago
Cannot change storage level of an RDD after it was already assigned a level

Stack trace

java.lang.UnsupportedOperationException: Cannot change storage level of an RDD after it was already assigned a level
	at org.apache.spark.rdd.RDD.persist(RDD.scala:169)
	at org.apache.spark.rdd.RDD.persist(RDD.scala:194)
	at org.apache.spark.graphx.impl.VertexRDDImpl.persist(VertexRDDImpl.scala:57)
	at org.apache.spark.graphx.impl.VertexRDDImpl.persist(VertexRDDImpl.scala:27)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.