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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.5, 3.0.0
    • Fix Version/s: 2.4.5, 3.0.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: