You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ant_nebula (JIRA)" <ji...@apache.org> on 2018/07/03 01:39:00 UTC

[jira] [Updated] (SPARK-24727) The cache 100 in CodeGenerator is too small for streaming

     [ https://issues.apache.org/jira/browse/SPARK-24727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant_nebula updated SPARK-24727:
-------------------------------
    Description: 
private val cache = CacheBuilder.newBuilder().maximumSize(100).build

The cache 100 in org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator is too small for realtime streaming calculation, although is ok for offline calculation. Because realtime streaming calculation is mostly more complex is one driver, and performance sensitive.

I suggest spark support configging for user with default 100, such as spark.codegen.cache.

 

  was:
private val cache = CacheBuilder.newBuilder().maximumSize(100).build

 

  The cache 100 in org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator is too small for realtime streaming calculation, although is ok for realtime calculation. Because realtime streaming calculation is mostly more complex is one driver.

  I suggest spark support configging for user with default 100, such as spark.codegen.cache.

 


> The cache 100 in CodeGenerator is too small for streaming
> ---------------------------------------------------------
>
>                 Key: SPARK-24727
>                 URL: https://issues.apache.org/jira/browse/SPARK-24727
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: ant_nebula
>            Priority: Major
>
> private val cache = CacheBuilder.newBuilder().maximumSize(100).build
> The cache 100 in org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator is too small for realtime streaming calculation, although is ok for offline calculation. Because realtime streaming calculation is mostly more complex is one driver, and performance sensitive.
> I suggest spark support configging for user with default 100, such as spark.codegen.cache.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org