Pooja Nilangekar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11296
Change subject: IMPALA-7418: Return first non-ok status from HdfsScanNode::GetNext() ...................................................................... IMPALA-7418: Return first non-ok status from HdfsScanNode::GetNext() Previously, HdfsScanNode::GetNext passed the status returned by IssueInitialScanRanges() without inspecting the status_. It made the fragment lose track of the error set by the scanner thread. This change ensures that GetNext returns the first non-ok status set in the HdfsScanNode. Testing: Added sleeps to the IssueInitialRanges() to cause deterministic failures of test_udf_errors and then applied this patch to it. It passes all the tests despite the sleeps. Change-Id: I4569cc7b0843a29c617a094e590c31f7c648ff45 --- M be/src/exec/hdfs-scan-node.cc 1 file changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/96/11296/1 -- To view, visit http://gerrit.cloudera.org:8080/11296 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4569cc7b0843a29c617a094e590c31f7c648ff45 Gerrit-Change-Number: 11296 Gerrit-PatchSet: 1 Gerrit-Owner: Pooja Nilangekar <pooja.nilange...@cloudera.com> Gerrit-Reviewer: Bikramjeet Vig <bikramjeet....@cloudera.com> Gerrit-Reviewer: Pooja Nilangekar <pooja.nilange...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>