Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15158

Too aggressive logging in SizeBasedRollingPolicy?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6.1
    • 2.0.0
    • Spark Core
    • None

    Description

      The questionable line is this: https://github.com/apache/spark/blob/3e27940a19e7bab448f1af11d2065ecd1ec66197/core/src/main/scala/org/apache/spark/util/logging/RollingPolicy.scala#L116

      This will output a message whenever anything is logged at executor level. Like the following:
      SizeBasedRollingPolicy:59 83 + 140796 > 1048576
      SizeBasedRollingPolicy:59 83 + 140879 > 1048576
      SizeBasedRollingPolicy:59 83 + 140962 > 1048576
      ...

      This seems to aggressive. Should this be at least downgrade to debug level?

      Attachments

        Activity

          People

            depend Kai Wang
            depend Kai Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: