I 'fixed' it by downgrading my common-util to the same version as hive so the signatures would not conflict.
Edward On Mon, Apr 2, 2012 at 12:18 PM, buddhika chamith <chamibuddh...@gmail.com> wrote: > HI Edward, > > Thanks for the reply. Please find the created JIRA at [1]. However for > currently for getting this working would moving these classes to a separate > package structure work? I am willing to patch Hive sources to get this > working if it comes to that. How did you get around the problems you faced? > > Regards > Buddhika > > [1] https://issues.apache.org/jira/browse/HIVE-2919 > > On Mon, Apr 2, 2012 at 8:25 PM, Edward Capriolo <edlinuxg...@gmail.com> > wrote: >> >> Yes. This has bitten me before as well. Hive-exec jar builds in some >> things from commons lang and commons util. They are needed by >> hive-exec jar itself so getting them from distributed cache/auxjars >> does not work well. I think the solution is we should probably >> repackage commons util into hive-commons so their is not conflicts. >> >> Open up a jira for discussion. >> >> Edward >> >> On Mon, Apr 2, 2012 at 5:54 AM, buddhika chamith >> <chamibuddh...@gmail.com> wrote: >> > Hi All, >> > >> > I see there are some hadoop packages present inside hive-exec jar. (for >> > example org.apache.hadoop.fs etc.). My guess is that these classes >> > extend >> > some hadoop interfaces/ functionality. However is it required for them >> > to >> > retain the same package structure? I am asking because I am trying to >> > run >> > Hive under an OSGi environment and duplicate packages coming from Hadoop >> > and >> > Hive are causing issues under OSGi. >> > >> > Regards >> > Buddhika > >