Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 117059BEB for ; Mon, 2 Apr 2012 17:02:29 +0000 (UTC) Received: (qmail 40104 invoked by uid 500); 2 Apr 2012 17:02:28 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 40025 invoked by uid 500); 2 Apr 2012 17:02:28 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 40011 invoked by uid 99); 2 Apr 2012 17:02:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 17:02:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of edlinuxguru@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 17:02:21 +0000 Received: by iagw33 with SMTP id w33so5912097iag.35 for ; Mon, 02 Apr 2012 10:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jFhhx3bZNcmkSwR3aRNKWxwXBwx5Px79Wx4J4BhsCIY=; b=qTIOphgJtVZLiXHRq4GpAHO5B8JjuXNabROEOtIp7zce141afXENRpfnr7CYmAofdD tXzxqWGJofVx8MF3urSvEvlvlcyD+mjOlgXnN39PcFAq700sFDxm13qjtK11ScVuh3Pe 5x7Ge8IxrJ1yAOOYzOUPkgWY2u3CNTh1tHbxE0Fict+QUHpsX7hln8HSVHJQqzs72q6q /q+8ZvJeX5TIxjViaUrd+zOBrkmNYAmQO9aDS4ZxIeN4bCckoClz6flEq2PMm12amGR8 UblBIBShmM9E/aVRYfqPe1DcQanzeBgp+5hJn0vtZtdFoxfe610bFq/LqKRsCAiNlC8W 0a3Q== MIME-Version: 1.0 Received: by 10.42.157.65 with SMTP id c1mr758286icx.6.1333386121379; Mon, 02 Apr 2012 10:02:01 -0700 (PDT) Received: by 10.42.197.1 with HTTP; Mon, 2 Apr 2012 10:02:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Apr 2012 13:02:01 -0400 Message-ID: Subject: Re: Duplicated Hadoop Package Structure in Hive exec From: Edward Capriolo To: user@hive.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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 > 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 >> 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 > >