Skip to content

Commit

Permalink
KYLIN-4847 Cuboid to HFile step failed on multiple job server env
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangayqian authored and hit-lacus committed Jan 4, 2021
1 parent 92e8d75 commit 5c12d08
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ public static String findContainingJar(Class<?> clazz, String preferJarKeyWord)

url = (URL) e.nextElement();
if (!"jar".equals(url.getProtocol()))
break;
continue;
if (System.getenv("KYLIN_HOME") != null && url.getPath().contains(System.getenv("KYLIN_HOME"))) {
logger.debug("It's better to use the jar under the hadoop directory.");
continue;
}
if (preferJarKeyWord != null && url.getPath().indexOf(preferJarKeyWord) != -1)
break;
if (preferJarKeyWord == null)
Expand Down

0 comments on commit 5c12d08

Please sign in to comment.