Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5154

OOM error in external sort on top of 400GB data set generated using terasort benchamark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.10.0
    • None
    • None

    Description

      git.commit.id.abbrev=cf2b7c7

      The below query fails with an OOM in external sort

      No of drillbits : 1
      Nodes in Mapr cluster : 2
      DRILL_MAX_DIRECT_MEMORY="16G"
      DRILL_MAX_HEAP="4G"
      select * from (select * from dfs.`/drill/testdata/resource-manager/terasort-data/part-m-00000.tbl` order by columns[0]) d where d.columns[0] = 'null';
      Error: RESOURCE ERROR: One or more nodes ran out of memory while executing the query.
      
      Unable to allocate buffer of size 8388608 due to memory limit. Current allocation: 8441872
      Fragment 1:6
      
      [Error Id: 87ede736-b480-4286-b472-7694fdd2f7da on qa-node183.qa.lab:31010] (state=,code=0)
      

      I attached the logs and the query profile

      Attachments

        1. 27a3de95-e30b-8890-6653-80fd6c49a3a1.sys.drill
          52 kB
          Rahul Kumar Challapalli

        Activity

          People

            paul-rogers Paul Rogers
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: