GitHub user pjfanning opened a pull request:
https://github.com/apache/spark/pull/18658
[SPARK-20871] only log Janino code at debug level
## What changes were proposed in this pull request?
When the code that is generated is greater than 64k, then Janino compile
will fail and CodeGenerator.scala will log the entire code at Error level.
SPARK-20871 suggests only logging the code at Debug level.
Since, the code is already logged at debug level, this Pull Request
proposes not including the formatted code in the Error logging and exception
message at all.
## How was this patch tested?
Existing tests were run.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pjfanning/spark SPARK-20871
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18658.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18658
----
commit 803166c66ed00df88f4f9d629503d1a87c0d3f45
Author: pj.fanning <[email protected]>
Date: 2017-07-17T17:03:18Z
[SPARK-20871] only log Janino code at debug level
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]