dependencies for druid hadoop utils

Hi,

I’ve been looking at the Pig utilities in druid-hadoop-utils.

I downloaded the repo

I did a ‘mvn clean package’.

This was fine.

However, I tried doing ‘mvn dependency:copy-dependencies’

I’m getting the following error messages.

[ERROR] Failed to execute goal on project druid-pig: Could not resolve dependencies for project com.yahoo.druid.hadoop-utils:druid-pig:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.yahoo.druid.hadoop-utils:druid-mr:jar:0.0.1-SNAPSHOT, com.yahoo.druid.hadoop-utils:druid-mr:jar:tests:0.0.1-SNAPSHOT: Could not find artifact com.yahoo.druid.hadoop-utils:druid-mr:jar:0.0.1-SNAPSHOT -> [Help 1]

[ERROR]

I also tried to do mvn javadoc:javadoc

It also failed

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:javadoc (default-cli) on project druid-mr: An error has occurred in JavaDocs report generation:

[ERROR] Exit code: 1 - /Users/jhom/Projects/druid-hadoop-utils-master/druid-mr/src/main/java/com/yahoo/druid/hadoop/DruidInputFormat.java:45: error: self-closing element not allowed

[ERROR] *

[ERROR] ^

[ERROR] /Users/jhom/Projects/druid-hadoop-utils-master/druid-mr/src/main/java/com/yahoo/druid/hadoop/DruidInputFormat.java:47: error: self-closing element not allowed

[ERROR] *

[ERROR] ^

[ERROR] /Users/jhom/Projects/druid-hadoop-utils-master/druid-mr/src/main/java/com/yahoo/druid/hadoop/DruidInputFormat.java:52: error: self-closing element not allowed

[ERROR] *

[ERROR] ^

[ERROR]

[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/…/bin/javadoc @options @packages

[ERROR]

[ERROR] Refer to the generated Javadoc files in ‘/Users/jhom/Projects/druid-hadoop-utils-master/druid-mr/target/site/apidocs’ dir.

[ERROR] -> [Help 1]

[ERROR]

Any ideas what is wrong?

Hi,

I guess you were using java8, https://github.com/himanshug/druid-hadoop-utils/commit/3110bd3bbc544537a3c1dbd953aba132062933b7 should fix the issue.

– Himanshu