This is an automated email from the ASF dual-hosted git repository.
abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 1d616a48204 HIVE-13288: Confusing exception message in
DagUtils.localizeResource (#3722) (Chris Nauroth reviewed by Rajesh Balamohan)
1d616a48204 is described below
commit 1d616a48204d870ed77796f17cc53f17b79f50af
Author: Chris Nauroth <[email protected]>
AuthorDate: Wed Nov 2 23:58:09 2022 -0700
HIVE-13288: Confusing exception message in DagUtils.localizeResource
(#3722) (Chris Nauroth reviewed by Rajesh Balamohan)
---
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
index eb4eef03bd3..1390f0df8f8 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
@@ -1448,9 +1448,10 @@ public class DagUtils {
// Only log on the first wait, and check after wait on the last
iteration.
if (!checkOrWaitForTheFile(
srcFs, src, dest, conf, notifierOld, waitAttempts, sleepInterval,
true)) {
- LOG.error("Could not find the jar that was being uploaded");
- throw new IOException("Previous writer likely failed to write " +
dest +
- ". Failing because I am unlikely to write too.");
+ LOG.error("Could not find the jar that was being uploaded: src = {},
dest = {}, type = {}", src, dest, type);
+ throw new IOException("Could not find jar while attempting to
localize resource. Previous writer may have " +
+ "failed to write " + dest + ". Failing because I am unlikely to
write too. Refer to exception for more " +
+ "troubleshooting details.", e);
}
} finally {
if (notifier == notifierNew) {