[
https://issues.apache.org/jira/browse/DRILL-4561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218726#comment-15218726
]
Laurent Goujon commented on DRILL-4561:
---------------------------------------
It didn't throw ClassNotFoundException so I guess the class is present in the
classpath. Isn't that simply a conflict between guava version used by drill,
and guava version used by Hadoop?
> Rationalize jar structure to minimize client dependencies
> ----------------------------------------------------------
>
> Key: DRILL-4561
> URL: https://issues.apache.org/jira/browse/DRILL-4561
> Project: Apache Drill
> Issue Type: Improvement
> Components: Server
> Reporter: Paul Rogers
> Priority: Minor
>
> In building the YARN Application Master (AM), we have need to include the bit
> of code that tracks Drill-bit registrations in ZK. Doing so needs at least
> two Drill Jars:
> org.apache.drill.exec/drill-java-exec
> org.apache.drill/drill-protocol
> Even with these, a Maven project fails to include some dependencies,
> resulting in missing classes:
> Exception in thread "main" java.lang.NoSuchMethodError:
> com.google.common.base.Stopwatch.createStarted()
> Two suggestions:
> 1. Adjust jars so that client code (such as to read ZK) is in a single jar.
> 2. Ensure Maven dependencies pull in required additional jars.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)