์ฃผ์ ๋ฆฌ ์ฃผ์ ๋ฆฌ ๋ฉ๋ชจํด ๋์ ๊ฒ์ด๋ผ ์ ๋ฆฌ๊ฐ ์๋์ด ์์ต๋๋ค๋ง ํ์ํ ๊ฒ ๊ฐ์ ์ฌ๋ ค๋์ต๋๋ค. ์ถํ ์ ๋ฆฌ ํ๊ฒ ์ต๋๋ค. https://spark.apache.org/docs/latest/tuning.html https://www.safaribooksonline.com/library/view/learning-spark/9781449359034/ch04.html Serialize์ Kryo ์ฌ์ฉ Conf.set("spark.serializer", org.apache.spark.serializer.KryoSerializer") Conf.set("spark.kryo.registrationRequeired", "true") Conf.registerKryoClasses(Array(classOf[MyClass], classOf[MyOtherClass])) Use MEMORY_ONLY_SER Rdd.cache() -> MEMORY_ONLY Rdd.persist(๋ช
์) -> ๋ค๋ฅธ ๋ ๋ฒจ ๊ฐ๋ฅ Storage Level Meaning MEMORY_ONLY Store RDD a.......