You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ricky Yang (JIRA)" <ji...@apache.org> on 2016/01/02 02:34:39 UTC

[jira] [Resolved] (SPARK-12601) worker output a large number of log when size RollingPolicy shouldRollover method use loginfo

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

Ricky Yang resolved SPARK-12601.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.1
                   1.6.0

 /** Should rollover if the next set of bytes is going to exceed the size limit */
  def shouldRollover(bytesToBeWritten: Long): Boolean = {
    logDebug(s"$bytesToBeWritten + $bytesWrittenSinceRollover > $rolloverSizeBytes")
    bytesToBeWritten + bytesWrittenSinceRollover > rolloverSizeBytes
  }

>  worker output a large number of log when size RollingPolicy shouldRollover  method use  loginfo
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-12601
>                 URL: https://issues.apache.org/jira/browse/SPARK-12601
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.0, 1.4.1, 1.5.0, 1.5.2
>         Environment: standlone 
>            Reporter: Ricky Yang
>             Fix For: 1.6.0, 1.6.1
>
>
>  worker output a large number of log when size RollingPolicy shouldRollover  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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