Closed JonnyDaenen closed 7 years ago
I managed to get it to work by setting the compression codec to Snappy:
sc.getConf.set("spark.io.compression.codec", "org.apache.spark.io.SnappyCompressionCodec")
@transient val ssc = new StreamingContext(sc, Seconds(4))
ssc.checkpoint("hdfs://lambda-pluralsight:9000/spark/checkpoint")
Note that I still get the original error occasionally, even with these settings...
Thanks @JonnyDaenen , there seems to be a Zeppelin bug logged on this and a thread that attempts to explain some of the behavior. Given this isn't an issue with the course code itself I am closing this ticket with the comments you've provided and the links below: https://issues.apache.org/jira/browse/ZEPPELIN-1799 https://groups.google.com/forum/#!topic/spark-notebook-user/aGRBESad8Ew
This is related to the video "Streaming Aggregations with Zeppelin: Demo"
When i run the following code in Apache Zeppelin
I receive the following error, or nothing.
Any hints on fixing it?
Thanks!