Spark "Executor heartbeat timed out"
I have a simple reproducible Spark error. (Spark 2.0 + Amazon EMR 5.0 FYI) def row_parse_function(): # Custom row parsing function. Details omitted. return pyspark.sql.types.Row(...) if __name__ == "__main__" spark_context = build_spark_context("max value bug isolation") spark_sql_context = SQLContext(spark_context) full_source_path = "s3a://my-bucket/ten_gb_data_file.txt.gz" # Tried changing partition parameter to no effect. raw_rdd = spark_context.textFile(full_source_path, 5000) row_rdd = raw_rdd.map(row_parse_function).filter(bool) data_frame = spark_sql_context.createDataFrame(row_rdd, At
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.