Impala may leak or use too many file descriptors

Details

Description

Impala may leak file descriptors if ScanRange::Open() fails due to an error seeking to the file offset.

Impala may keep file descriptors open longer than necessary. It may keep files open until the last buffer is returned, which can be arbitrarily long as the buffer is passed up the plan tree. This is unnecessary for the case where hdfs caching is not being used.