Giter VIP home page Giter VIP logo

Comments (2)

amitkdutta avatar amitkdutta commented on August 22, 2024

CC: @xiaoxmeng

from presto.

spershin avatar spershin commented on August 22, 2024

Going to take a look at it.
It is reproducible in Meta internal repo with stress test.
I suspect a race and already could see some terminated operators in the 'queued' state. They hold the Task hostage.

Plan:
-- Aggregation[1][SINGLE [c0] a0 := count(ROW["c1"])] -> c0:INTEGER, a0:BIGINT
  -- Values[0][1000 rows in 1 vectors] -> c0:INTEGER, c1:VARCHAR

zombie drivers:
{Driver.0.0: terminated, enqueued {Operators: Values[0] 0, Aggregation[1] 1, }}, refcount: 2
}

This seems not the only reason for the zombie tasks. I also see some zombie tasks w/o any zombie drivers.
They have this exception thrown in the workflow:

The last operator (sink) must not produce any results. ...

I suspect that this throw is bad and breaks the workflow.
It also never happens in our prod, because queries don't have plans that return some data from the Driver:run().

from presto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.