-Re: Duplicated Hadoop Package Structure in Hive exec
buddhika chamith 2012-04-02, 16:18
Thanks for the reply. Please find the created JIRA at . 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?
On Mon, Apr 2, 2012 at 8:25 PM, Edward Capriolo <[EMAIL PROTECTED]>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.
> On Mon, Apr 2, 2012 at 5:54 AM, buddhika chamith
> <[EMAIL PROTECTED]> 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
> > Hive are causing issues under OSGi.
> > Regards
> > Buddhika