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

Canceling queries on Sqlline crashes all Drillbits with unsafe memory access disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • Future
    • Execution - Flow
    • None

    Description

      Upon canceling a query all drillbits crash.

      > SELECT RANK() OVER (PARTITION BY ss.ss_store_sk ORDER BY ss.ss_store_sk), AVG(ss_ext_discount_amt) OVER (PARTITION BY ss.ss_store_sk ORDER BY ss.ss_store_sk) FROM store_sales ss WHERE ss.ss_store_sk is not NULL LIMIT 20;
      [Cancel]
      

      Upon reissuing a query, I see an error with connection. Upon inspection, all drillbits were down. There was a JVM crash.

      > select * from store_sales limit 1;
      Error: CONNECTION ERROR: Connection /10.10.120.101:55788 <--> /10.10.120.110:31010 (user client) closed unexpectedly.
      
      [Error Id: 6dfd9fef-39bf-4955-8783-49805e1a8e3d ] (state=,code=0)
      

      Logs attached.

      Attachments

        1. drillbit.log.txt
          11 kB
          Abhishek Girish
        2. drillbit.out.txt
          3 kB
          Abhishek Girish
        3. hs_error.log
          675 kB
          Abhishek Girish

        Activity

          People

            karthikm Karthikeyan Manivannan
            agirish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: