1
0

Make sure to fail with HoodieUpsertException if HoodieUpdateHandle is not properly initialized

This commit is contained in:
Prasanna Rajaperumal
2017-01-05 16:45:59 -08:00
parent ee9be707e5
commit 6dd603352e

View File

@@ -107,6 +107,9 @@ import java.util.Iterator;
} catch (Exception e) {
logger.error("Error in update task at commit " + commitTime, e);
writeStatus.setGlobalError(e);
throw new HoodieUpsertException(
"Failed to initialize HoodieUpdateHandle for FileId: " + fileId + " on commit "
+ commitTime + " on HDFS path " + metadata.getBasePath());
}
}