Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gcpagano on github.
  • I am giancarlopagano (https://keybase.io/giancarlopagano) on keybase.
  • I have a public key whose fingerprint is C9FC A056 D766 3917 5A34 D0F3 E6FF B472 0D87 41E0

To claim this, I am signing this object:

- create Dataset from GenericRecord *** FAILED ***
[info] org.apache.spark.SparkException: Task not serializable
[info] at org.apache.spark.util.ClosureCleaner$.ensureSerializable(ClosureCleaner.scala:298)
[info] at org.apache.spark.util.ClosureCleaner$.org$apache$spark$util$ClosureCleaner$$clean(ClosureCleaner.scala:288)
[info] at org.apache.spark.util.ClosureCleaner$.clean(ClosureCleaner.scala:108)
[info] at org.apache.spark.SparkContext.clean(SparkContext.scala:2037)
[info] at org.apache.spark.rdd.RDD$$anonfun$map$1.apply(RDD.scala:366)
[info] at org.apache.spark.rdd.RDD$$anonfun$map$1.apply(RDD.scala:365)
[info] at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
[info] at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)