mirror of https://github.com/apache/druid.git
fix ordering of urls, ugh, need to write more tests
This commit is contained in:
parent
373251a476
commit
6b41681424
|
@ -150,8 +150,8 @@ public class HadoopIndexTask extends AbstractTask
|
|||
Thread.currentThread().setContextClassLoader(loader);
|
||||
|
||||
final Set<URL> jobUrls = Sets.newHashSet();
|
||||
jobUrls.addAll(extensionURLs);
|
||||
jobUrls.addAll(nonHadoopURLs);
|
||||
jobUrls.addAll(extensionURLs);
|
||||
|
||||
System.setProperty("druid.hadoop.internal.classpath", Joiner.on(File.pathSeparator).join(jobUrls));
|
||||
|
||||
|
|
|
@ -88,8 +88,8 @@ public class CliHadoopIndexer implements Runnable
|
|||
Thread.currentThread().setContextClassLoader(loader);
|
||||
|
||||
final Set<URL> jobUrls = Sets.newHashSet();
|
||||
jobUrls.addAll(extensionURLs);
|
||||
jobUrls.addAll(nonHadoopURLs);
|
||||
jobUrls.addAll(extensionURLs);
|
||||
|
||||
System.setProperty("druid.hadoop.internal.classpath", Joiner.on(File.pathSeparator).join(jobUrls));
|
||||
|
||||
|
|
Loading…
Reference in New Issue