java.lang.UnsupportedOperationException

Cannot change storage level of an RDD after it was already assigned a level

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via GitHub by blacknred0
    ,
  • via by prasad223,
  • via by prasad223,
  • 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.

    No Bugmate found.