Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-26660] Add warning logs when broadcasting large task binary
## What changes were proposed in this pull request? Currently, some ML library may generate large ml model, which may be referenced in the task closure, so driver will broadcasting large task binary, and executor may not able to deserialize it and result in OOM failures(for instance, executor's memory is not enough). This problem not only affects apps using ml library, some user specified closure or function which refers large data may also have this problem. In order to facilitate the debuging of memory problem caused by large taskBinary broadcast, we can add same warning logs for it. This PR will add some warning logs on the driver side when broadcasting a large task binary, and it also included some minor log changes in the reading of broadcast. ## How was this patch tested? NA-Just log changes. Please review http://spark.apache.org/contributing.html before opening a pull request. Closes apache#23580 from liupc/Add-warning-logs-for-large-taskBinary-size. Authored-by: Liupengcheng <[email protected]> Signed-off-by: Sean Owen <[email protected]>
- Loading branch information