fix ordering of urls, ugh, need to write more tests

This commit is contained in:
fjy 2013-11-14 15:06:07 -08:00
parent 373251a476
commit 6b41681424
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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));