Return-Path: X-Original-To: apmail-mahout-user-archive@www.apache.org Delivered-To: apmail-mahout-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 DD3541038E for ; Thu, 5 Sep 2013 18:01:37 +0000 (UTC) Received: (qmail 29031 invoked by uid 500); 5 Sep 2013 18:01:36 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 29000 invoked by uid 500); 5 Sep 2013 18:01:36 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 28990 invoked by uid 99); 5 Sep 2013 18:01:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 18:01:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [98.139.213.95] (HELO nm8-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.95) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 18:01:29 +0000 Received: from [98.139.212.149] by nm8.bullet.mail.bf1.yahoo.com with NNFMP; 05 Sep 2013 18:00:47 -0000 Received: from [98.139.212.198] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 05 Sep 2013 18:00:47 -0000 Received: from [127.0.0.1] by omp1007.mail.bf1.yahoo.com with NNFMP; 05 Sep 2013 18:00:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 739486.33256.bm@omp1007.mail.bf1.yahoo.com Received: (qmail 32495 invoked by uid 60001); 5 Sep 2013 18:00:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.mx; s=s1024; t=1378404047; bh=El7EP+dtmDxWXROB2DAQkvO3quZhQP5E0QdvjB33Ah0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=YUjRaJAKRo9Sk4gAMjgk475y5jkBYVJrBlHWa/qlxrhl+qRPCzxZJqE7HgwOizaGiRaLTu6OrZAO3ge/jxjkbUr2fKP2Opa9jTgeQZysz/zaxL0VSRli/sJHARyOgq2b/QQDLM1ZNVYWuceUS6PpPY+Tfa2BL7bgGjnETDh9/QU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.mx; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=YW1mLsJsnurb5PfEqRhDgDGM931EXBjW/7GiqXmlaqV84p2IdbBfh33QVgBCOzKgXAGbTdT7M0SW9uVBmMiwLqr72RQQuSdfozsGR477UIp/m03f9+uvNoli+fTyyStIX3AkAnqWORGzgLTJggNJz/+La53/cVkAoEKmsJDnX/k=; X-YMail-OSG: LtxUuQIVM1mtnz9.bvmHAfHD4uEIkebjB3p71W6T0gDAFEL 7.n30Vd42DXI9vRZJFT3hT0h8hmaG17a4rZtlObunjtTz4x7Ejw3gLMgFL2d qGBPQ2AhHBT8Py8KScGAgrMxFNbJgHZf4G01XnyvBaGPL_KbZM_egUjuxI_A K53Fh_Jc9x9Lu1T2f6a_7jNdcRaFNa0T.OZtn8vbT8WupEz7PXaVqgBofdOR 84I3fDsyj2bAyimcDF6z3wI.x7TBWfuN16hw90Qhftt9cznPiV5psWkra7tl IYnB8ilexPiEVxsStcf3Ei1nzD4r_Tz1b_J8frAynFE.EKxUae57aU0q94rS _iUrVWnEbzihEC.MwoDUfYRq97jh5FpZysCeG4ARYEkHpmBIecn1.bJekfO3 D_flfBSSWdhUImqmEzudA56aaWv3YOXzvrlRvCdQRN5VWg6f1zo7pGKVdz4z m6dZcov31ZONwEdFWChwW5SylAxv9Pl.A.S4UZitGO2WK2hysyLsBNOSfW2O BXL4lUK9qOluiuOSUtXZY7r1rxws4zj4w9bdNtApRggnmJ94kAvU65RGRkvZ yjqjjGutj9FnnOMTb01PnGWiH4r_DrHtvbm6nXcuKHe1g Received: from [131.107.147.123] by web162002.mail.bf1.yahoo.com via HTTP; Thu, 05 Sep 2013 11:00:47 PDT X-Rocket-MIMEInfo: 002.001,SSBqdXN0IHJlcGxhY2VkIHRoZSBqYXJzIGluIG15IHByb2plY3Qgd2l0aCBtYWhvdXQgMC44IGphcnMgYW5kIEkgZ2V0IHRoZSBzYW1lIGV4Y2VwdGlvbjoKCmphdmEubGFuZy5JbmRleE91dE9mQm91bmRzRXhjZXB0aW9uOiBJbmRleDogMCwgU2l6ZTogMArCoMKgwqAgYXQgamF2YS51dGlsLkFycmF5TGlzdC5SYW5nZUNoZWNrKEFycmF5TGlzdC5qYXZhOjU0NykKwqDCoMKgIGF0IGphdmEudXRpbC5BcnJheUxpc3QuZ2V0KEFycmF5TGlzdC5qYXZhOjMyMikKwqDCoMKgIGF0IG9yZy5hcGFjaGUubWFob3V0LmMBMAEBAQE- X-Mailer: YahooMailWebService/0.8.156.576 References: <1378346324.31213.YahooMailNeo@web162005.mail.bf1.yahoo.com> Message-ID: <1378404047.32087.YahooMailNeo@web162002.mail.bf1.yahoo.com> Date: Thu, 5 Sep 2013 11:00:47 -0700 (PDT) From: Alan Krumholz Reply-To: Alan Krumholz Subject: Re: using KmeansDriver with HDFS To: "user@mahout.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4756291-1707564549-1378404047=:32087" X-Virus-Checked: Checked by ClamAV on apache.org --4756291-1707564549-1378404047=:32087 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I just replaced the jars in my project with mahout 0.8 jars and I get the s= ame exception:=0A=0Ajava.lang.IndexOutOfBoundsException: Index: 0, Size: 0= =0A=A0=A0=A0 at java.util.ArrayList.RangeCheck(ArrayList.java:547)=0A=A0=A0= =A0 at java.util.ArrayList.get(ArrayList.java:322)=0A=A0=A0=A0 at org.apach= e.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(ClusterClas= sifier.java:215)=0A=0Ashould I file a bug?=0A=0AThanks!=0A=0AAlan=0A=0A=0A= =0A=0A________________________________=0A De: Ted Dunning =0APara: "user@mahout.apache.org" ; Alan Krum= holz =0AEnviado: Mi=E9rcoles, 4 de septiembre,= 2013 23:07:02=0AAsunto: Re: using KmeansDriver with HDFS=0A =0A=0AOn Wed, = Sep 4, 2013 at 6:58 PM, Alan Krumholz wrote:=0A= =0A> I pulled that code=0A> (org.apache.mahout.clustering.classify.ClusterC= lassifier.readFromSeqFiles(ClusterClassifier.java:215)and=0A> I think is tr= ying to read a file from one of the paths I passed to the=0A> method but wi= th a new instance of the configuration object (not the=0A> configuration ob= ject I passed to the method but one that doesn't have my=0A> HDFS configure= d)=0A>=0A=0A=0AThis is quite plausibly a bug.=A0 This is a common error whe= n using the HDFS=0AAPI.=0A=0AHave you checked what happens with 0.8? --4756291-1707564549-1378404047=:32087--