-Re: Duplicated Hadoop Package Structure in Hive exec
Edward Capriolo 2012-04-02, 17:02
I 'fixed' it by downgrading my common-util to the same version as hive
so the signatures would not conflict.
On Mon, Apr 2, 2012 at 12:18 PM, buddhika chamith
<[EMAIL PROTECTED]> wrote:
> HI Edward,
> 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?
>  https://issues.apache.org/jira/browse/HIVE-2919
> On Mon, Apr 2, 2012 at 8:25 PM, Edward Capriolo <[EMAIL PROTECTED]>
>> 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
>> > and
>> > Hive are causing issues under OSGi.
>> > Regards
>> > Buddhika