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

Calculating size of table having large number of partitions causes flooding logs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.4.5, 3.0.0
    • 2.4.5, 3.0.0
    • SQL
    • None

    Description

      For a partitioned table, if the number of partitions are very large, e.g. tens of thousands or even larger, calculating its total size causes flooding logs.

      The flooding happens in:

      1. `calculateLocationSize` prints the starting and ending for calculating the location size, and it is called per partition;
      2. `bulkListLeafFiles` prints all partition paths.

      Attachments

        Activity

          People

            zhenhuawang Zhenhua Wang
            zhenhuawang Zhenhua Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: