drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanifi Gunes <hgu...@maprtech.com>
Subject Re: Including Drill and Hadoop jars in the same program
Date Wed, 06 Apr 2016 19:34:44 GMT
Shading might be an option here.


1: https://maven.apache.org/plugins/maven-shade-plugin/

On Thu, Mar 31, 2016 at 6:04 PM, Paul Rogers <progers@maprtech.com> wrote:

> Hi All,
> Here’s an obscure question for the expert developers…
> We’re developing the YARN Application Master (AM) for Drill. We’d like to
> monitor Drill’s ZooKeeper (ZK) Drill-bit registrations. Since the ZK
> entries are in Protobuf format, and Drill already has classes do to the
> monitoring, the logical solution is just to use the Drill code in the AM.
> The problem is, the dependencies (such as Guava version) for Drill differ
> from those of Hadoop. Simply including Drill and YARN libraries in the same
> build trigger runtime failures due to Guava version incompatibilities.
> One solution is to create a custom class loader for the Drill classes, but
> that introduces a different set of complexities.
> Suggestions?
> Thanks,
> - Paul

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message