Return-Path: X-Original-To: apmail-mahout-dev-archive@www.apache.org Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6677FC17E for ; Thu, 17 May 2012 01:48:04 +0000 (UTC) Received: (qmail 15598 invoked by uid 500); 17 May 2012 01:48:03 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 15550 invoked by uid 500); 17 May 2012 01:48:03 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 15538 invoked by uid 99); 17 May 2012 01:48:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 01:48:03 +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 (nike.apache.org: domain of ted.dunning@gmail.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qc0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 01:47:56 +0000 Received: by qcmt36 with SMTP id t36so1824356qcm.1 for ; Wed, 16 May 2012 18:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=e/wPvKNT7nTrAOcYrb1sWfMwB5R1OxSrkFROAsbCYjM=; b=RnG1VKKLYAs4+GvT5JyKeEpqWiz1WuKUbkOZ1Bcq+3/RF6WAJTFy//8jtpHtCEg2mx ibetci/LCwuVtOAwrywmudY1K6dsJaZsmy+oJl33I7kJU+BKTr/kFC2O3tPGvvnJmBG7 1UusoCLBsCSOaqGtNafmEni9MfU0GTd6ZmJF88P8CCw4XZjbGOF3HyIOvY53V+P6xOAu dIXgh47NkiOs2p6bSdGnt2IXhlRG+npJlVCzz2VBB+zVUyr7dPM5KNDpyZk6KDe+MTVk LxgGei+btGH+QMLfLdV+NG1Y9Mizd7zQua90tBx/yc5cf9oi2qLgGZZmcdul0IX9nBaU nWUQ== Received: by 10.224.182.194 with SMTP id cd2mr13656440qab.83.1337219255215; Wed, 16 May 2012 18:47:35 -0700 (PDT) Received: from [10.165.72.106] (mobile-198-228-198-229.mycingular.net. [198.228.198.229]) by mx.google.com with ESMTPS id bs9sm12124043qab.2.2012.05.16.18.47.34 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 18:47:34 -0700 (PDT) References: <1112110681.6546.1337210468153.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1112110681.6546.1337210468153.JavaMail.tomcat@hel.zones.apache.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <3E7AF99C-35F7-429B-993A-443BEB8C8AE3@gmail.com> Cc: "dev@mahout.apache.org" X-Mailer: iPhone Mail (9A406) From: Ted Dunning Subject: Re: [jira] [Commented] (MAHOUT-768) Duplicated DoubleFunction in mahout and mahout-collections (mahout.math package). Date: Wed, 16 May 2012 21:47:29 -0400 To: "dev@mahout.apache.org" This appears to be a problem that occurs when one build is done right after a= nother.=20 MVn clean clears it up (temporarily). The problem appears to be related to t= he code generation for collections. Previously collections would never be bu= ilt twice on the same directory.=20 As I get time I will be messing with this to get it cleaned up. In the meant= ime we have a work around and I can even disable the building of the collect= ions. =20 Thoughts? Benson? Are you out there? Sent from my iPhone On May 16, 2012, at 7:21 PM, "Hudson (JIRA)" wrote: >=20 > [ https://issues.apache.org/jira/browse/MAHOUT-768?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13277= 256#comment-13277256 ]=20 >=20 > Hudson commented on MAHOUT-768: > ------------------------------- >=20 > Integrated in Mahout-Quality #1489 (See [https://builds.apache.org/job/Mah= out-Quality/1489/]) > MAHOUT-768 - Fixed dependencies at top-level and in distribution. (Revi= sion 1339406) >=20 > Result =3D FAILURE > tdunning : http://svn.apache.org/viewcvs.cgi/?root=3DApache-SVN&view=3Drev= &rev=3D1339406 > Files :=20 > * /mahout/trunk/distribution/pom.xml > * /mahout/trunk/pom.xml >=20 >=20 >> Duplicated DoubleFunction in mahout and mahout-collections (mahout.math p= ackage). >> -------------------------------------------------------------------------= -------- >>=20 >> Key: MAHOUT-768 >> URL: https://issues.apache.org/jira/browse/MAHOUT-768 >> Project: Mahout >> Issue Type: Improvement >> Components: collections, Math >> Affects Versions: 0.5, collections-1.0 >> Reporter: Dawid Weiss >> Assignee: Ted Dunning >> Priority: Minor >> Fix For: 0.7 >>=20 >>=20 >> DoubleFunction is duplicated in Mahout Math and Collections. There are al= so other things inside m.math.* package that are kept there to avoid circula= r dependencies... Simply removing DoubleFunction from collections is not goi= ng to work because it is needed for compilation (again, circular dependency b= etween collections and math). I see two solutions: >> 1) extract the common definitions inside math.function.* into a separate m= odule. This is a clean solution, but obviously scatters the code even furthe= r. >> 2) create a compilation-time, optional dependency on mahout 0.5 in collec= tions, remove the entire mahout.math.* subpackage from collections and live w= ith this. I don't know how Maven handles circular dependencies of this type:= >> collections [trunk] -> [optional, required at build time] mahout.math 0.5= >> mahout.math [trunk] -> collections [trunk] >> it seems tricky and error-prone, but should also work. >> Looking for other ideas of cleaning this mess up, of course. >> Dawid >=20 > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA administrat= ors: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a > For more information on JIRA, see: http://www.atlassian.com/software/jira >=20 >=20