Return-Path: Delivered-To: apmail-lucene-mahout-dev-archive@minotaur.apache.org Received: (qmail 16347 invoked from network); 15 Feb 2010 04:34:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2010 04:34:43 -0000 Received: (qmail 65326 invoked by uid 500); 15 Feb 2010 04:34:42 -0000 Delivered-To: apmail-lucene-mahout-dev-archive@lucene.apache.org Received: (qmail 65211 invoked by uid 500); 15 Feb 2010 04:34:42 -0000 Mailing-List: contact mahout-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-dev@lucene.apache.org Delivered-To: mailing list mahout-dev@lucene.apache.org Received: (qmail 65201 invoked by uid 99); 15 Feb 2010 04:34:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 04:34:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robin.anil@gmail.com designates 209.85.222.172 as permitted sender) Received: from [209.85.222.172] (HELO mail-pz0-f172.google.com) (209.85.222.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 04:34:35 +0000 Received: by pzk2 with SMTP id 2so1241465pzk.21 for ; Sun, 14 Feb 2010 20:34:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=lHMrzExCUkAocJBUc9cIbV0tY9yqQxMFxQ0PgQZ0Mrk=; b=lhzknL4gjpbfoApt3AFFYFs880aqSCYsMrS+Bio+Jq142X6MsGxNQ14sqP0JRnMYw+ y3dRhkU9pimnf1Jt6kWn9wF/KZDGP4JFcUbIo98q4Y5D0yi2+iu8MxwsZTwQ+IK0mxyS oHOOhsr6tWh57dFBow9sSUWXdPLRZdY+aEnWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=moODaJR/pr+/binCkAWZAj2yhhX8MIUxH55+ha/rKnVYn7eoMjtEWfTSTgVdSeoehu xpBXgXyBwgtXuRMlCTfmolxjOpd99V9f7LQBU/6q3lgTkHbgAdM+aD9Djop4mxV3pSnG bDBnyP/nUoysS6knqDPhS8irUAeaXhthDo44Y= MIME-Version: 1.0 Received: by 10.141.187.7 with SMTP id o7mr3169956rvp.35.1266208455058; Sun, 14 Feb 2010 20:34:15 -0800 (PST) In-Reply-To: <8f8e14c41002141522t3e23488ame64d1f182d66be76@mail.gmail.com> References: <954CD425-24DD-469A-90CE-F2870B539632@apache.org> <2CF49E96-76D4-409C-864F-D0A472177877@apache.org> <8f8e14c41002141500uab182bbxd30c1c2f9e35bdd2@mail.gmail.com> <8f8e14c41002141522t3e23488ame64d1f182d66be76@mail.gmail.com> From: Robin Anil Date: Mon, 15 Feb 2010 10:03:55 +0530 Message-ID: <7d7600c51002142033x2269db29i72c04b74e69c1ff0@mail.gmail.com> Subject: Re: Taste demo not working To: mahout-dev@lucene.apache.org Content-Type: multipart/alternative; boundary=000e0cd1ad4a2ce7e2047f9c2152 --000e0cd1ad4a2ce7e2047f9c2152 Content-Type: text/plain; charset=UTF-8 Many places the classes are instantiated at runtime from a string. "org.apache.*.*.*.StandardAnalyzer". Thats the case when maven fails. Jets3 patch was doing the exact same thing. In mahout's case we can enforce static checking by making sure the package is referenced directly in some test. On Mon, Feb 15, 2010 at 4:52 AM, Drew Farris wrote: > On Sun, Feb 14, 2010 at 6:03 PM, Sean Owen wrote: > > Could be a dumb question, but aren't these sorts of dependencies > > necessarily things that particular users of Mahout/Hadoop depend on, > > not Mahout? even at runtime? Kind of like depending on a particular > > SLF4J binding to a logger. > > It depends, mvn will warn that jets3t is unused, but the code in > MAHOUT-249 depends on it because it advertises the ability to write to > S3 in its command-line options. Do we want to add the caveat that if > you want to use s3 that you (as a user) have to provide the jar? > That's the one example I'm aware of, are there others, I don't know. > > One could say that because there are utilities/examples that don't run > using the hadoop driver but do use the Hadoop FS abstraction that we > must include all of the jars for filesystems supported by that > abstraction, but I'm not certain that I agree with that statement or > not. > > I believe the Hadoop FS is probably the only case where we'd need to > consider this but I'm not 100% certain. The logger binding is a > somewhat similar class of problem. > > Drew > --000e0cd1ad4a2ce7e2047f9c2152--