diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java index 0a535d15c1..ebb2373fa5 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java @@ -236,8 +236,8 @@ public static String relativeToAbsolutePath(HiveConf conf, String location) } return uri.toString(); } else { - // no-op for non-test mode for now - return location; + Path path = new Path(location); + return path.getFileSystem(conf).makeQualified(path).toString(); } } catch (IOException e) { throw new SemanticException(ErrorMsg.IO_ERROR.getMsg() + ": " + e.getMessage(), e);