This is an automated email from the ASF dual-hosted git repository.
dkuzmenko 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 57d1ad69f56 HIVE-26614: Fix adding custom jars in Job classpath (Ayush
Saxena , reviewed by Denys Kuzmenko)
57d1ad69f56 is described below
commit 57d1ad69f56f990d387b4a48354aea7581745f07
Author: Ayush Saxena <[email protected]>
AuthorDate: Tue Oct 11 13:24:38 2022 +0530
HIVE-26614: Fix adding custom jars in Job classpath (Ayush Saxena ,
reviewed by Denys Kuzmenko)
Closes #3652
---
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
index 95affc4b64e..0eb568614e5 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
@@ -4158,7 +4158,7 @@ public final class Utilities {
if (!localFs.exists(new Path(path))) {
throw new RuntimeException("Could not validate jar file " + path + "
for class " + clazz);
}
- jars.add(path);
+ jars.add(localFs.makeQualified(new Path(path)).toString());
}
if (jars.isEmpty()) {
return;