Description
Currently, we encountered a issue in kudu-spark that will causing spark sql query failure:
```
Job aborted due to stage failure: Total size of serialized results of 942 tasks (2.0 GB) is bigger than spark.driver.maxResultSize (2.0 GB)
```
After carefully debug, we find out that it's the kudu.write_duration accumulators causing single spark task larger than 2M, thus all tasks size of the stage will bigger than the limit.
However, this stage is just reading kudu table and do shuffle exchange, no writing any kudu tables.
So I think should init this accumulator lazily in KuduContext to avoid such issues.
Attachments
Attachments
Issue Links
- duplicates
-
KUDU-3056 kudu-spark HdrHistogramAccumulator is too big, and make spark job failed
- Resolved
- links to