Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
2.7.3
-
None
Description
SparkSQL AM Codegen ERROR,then call unregister AM API and send the error message to RM, RM receive the AM state and update to RMStateStore. The Codegen error message maybe is huge, (Our case is about 200MB). If the RMStateStore is ZKRMStateStore, it causes the same exception as YARN-6125, but YARN-6125 doesn't cover the unregisterApplicationMaster's message cut.
SparkSQL Codegen error message show below:
18/08/18 08:34:54 ERROR codegen.CodeGenerator: failed to compile: org.codehaus.janino.JaninoRuntimeException: Constant pool has grown past JVM limit of 0xFFFF
/* 001 */ public java.lang.Object generate(Object[] references)
/* 004 */
/* 005 */ class SpecificSafeProjection extends org.apache.spark.sql.catalyst.expressions.codegen.BaseProjection {
..........
about 2 million lines.
..........
Attachments
Issue Links
- duplicates
-
YARN-6967 Limit application attempt's diagnostic message size thoroughly
- Resolved
- is related to
-
SPARK-25174 ApplicationMaster suspends when unregistering itself from RM with extreme large diagnostic message
- Resolved