Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-340

totalMemoryPool is truncated to 32 bits

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0, 1.8.2
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      with heap set to 50gb seeings lots of errors like this

      Jul 17, 2015 3:18:14 PM WARNING: org.apache.parquet.hadoop.MemoryManager: Total allocation exceeds 95.00% (2,147,483,647 bytes) of heap memory

      this is because the ratio passed into calculate the total memory is a float which when used is causing the long value to be truncate to max int32.

      Fix this by making it a double instead

        Attachments

          Activity

            People

            • Assignee:
              Zariel Chris Bannister
              Reporter:
              Zariel Chris Bannister
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: