Yida Wu created IMPALA-10953:
--------------------------------

             Summary: Impalad may crash when TmpFilrMgr initialization fails 
and abort_on_config_error is set false
                 Key: IMPALA-10953
                 URL: https://issues.apache.org/jira/browse/IMPALA-10953
             Project: IMPALA
          Issue Type: Bug
    Affects Versions: Impala 4.0.0, Impala 3.0, Impala 4.1.0
            Reporter: Yida Wu


The impalad can start up successfully without a successful initialization on 
TmpFilrMgr when the abort_on_config_error is set false.

[https://github.com/apache/impala/blob/d2f866f9a17c2d71fb3e3e731a2dfcce68d336d9/be/src/service/impala-server.cc#L440]

It could lead to a crash during runtime for using an incomplete TmpFilrMgr when 
the query needs to spill the data. There is a DCHECK assert for usingĀ an 
incomplete TmpFilrMgr, but the DCHECK doesn't work for a release version, and 
instead of a DCHECK, it may be better to have a function to return an error if 
using anĀ incomplete TmpFilrMgr, therefore we can fail the query instead of 
causing a impalad crash.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to