Kurt Deschler has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17192


Change subject: IMPALA-10579: Avoid infinite loop from remote file iterator
......................................................................

IMPALA-10579: Avoid infinite loop from remote file iterator

This patch adds a flag to FileSystemUtil.FilterIterator.hasNext() to
avoid getting into an infinite loop if the remote iterator throws
repeated FileNotFoundException exceptions. Since these exceptions do not
contain information regarding which file is missing, the new check simply
re-throws the exception if the remote hasNext() call throws twice in a
row.

Testing:
  Tested manually by temporarily adding explicit exceptions in the
  problem loop

Change-Id: Ia8b60aab0286390ced364188a24ee78f99073730
---
M fe/src/main/java/org/apache/impala/common/FileSystemUtil.java
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/17192/1
--
To view, visit http://gerrit.cloudera.org:8080/17192
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia8b60aab0286390ced364188a24ee78f99073730
Gerrit-Change-Number: 17192
Gerrit-PatchSet: 1
Gerrit-Owner: Kurt Deschler <kdesc...@cloudera.com>

Reply via email to