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 D6A55189AB for ; Tue, 7 Jul 2015 18:35:36 +0000 (UTC) Received: (qmail 42261 invoked by uid 500); 7 Jul 2015 18:35:35 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 42207 invoked by uid 500); 7 Jul 2015 18:35:35 -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 42195 invoked by uid 99); 7 Jul 2015 18:35:34 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 18:35:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 87092C09B3 for ; Tue, 7 Jul 2015 18:35:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.89 X-Spam-Level: ** X-Spam-Status: No, score=2.89 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ffzDDroXu2f1 for ; Tue, 7 Jul 2015 18:35:27 +0000 (UTC) Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com [209.85.160.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id C16CE21231 for ; Tue, 7 Jul 2015 18:35:26 +0000 (UTC) Received: by ykfs198 with SMTP id s198so81257007ykf.2 for ; Tue, 07 Jul 2015 11:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=yHyGc6kvmQbuKvNP9zdirLw+BG+XvYWI3hqoARH+vDQ=; b=xaOWy5BtzsqLqmXTFRKyYoPeQIO+WCOpdstV+PfOAzz7fQ4VeBfCZa40bzMVRUwbM3 JxGz5PyygD3Ijuz2dYc8E4NtR8aqsqWn5X2x8OGHKm83PeiDdqejXImbmEDxkTWLSpNI FjOfFpQbu+rPSXVY0hhRO6XpJ95nPkKbx8BxeySaaaHlaSiAnAzb28YJajOMHBGgx4ze k/N/HAvAB1fxVTRuGXECr+iQbqDI+wc1OL31u6r0z2CIre85EXvGS2VqTTG+AT01Jp9j 6cYNq0SgQ6jNMJbrrJhn8GnFl8vUtrk22PBPI19eQqUuO6x5aPpuQF0XAuw4Jx0fO+ut WZkw== X-Received: by 10.170.95.4 with SMTP id m4mr6550178yka.117.1436294125310; Tue, 07 Jul 2015 11:35:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.93.131 with HTTP; Tue, 7 Jul 2015 11:34:55 -0700 (PDT) In-Reply-To: References: From: Rodolfo Viana Date: Tue, 7 Jul 2015 15:34:55 -0300 Message-ID: Subject: Re: Mahout 0.10 with Spark 1.1.1 To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=001a113a34c221e326051a4d49d7 --001a113a34c221e326051a4d49d7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99m trying to run Mahout 0.10 using Spark 1.1.1 and so far I didn= =E2=80=99t have any success passing a file on hdfs. My actual problem is when I try to run the example: bin/mahout spark-itemsimilarity --input hdfs://localhost:9000/input --output hdfs://localhost:9000/output And I=E2=80=99m having this I was googling and I found this solution Configuration configuration =3D new Configuration(); FileSystem hdfsFileSystem =3D FileSystem.get(new URI("hdfs://localhost:9000 "),configuration); http://techidiocy.com/java-lang-illegalargumentexception-wrong-fs-expected-= file/ but I don=E2=80=99t want modify the original code. Is there any way that I can resolve this problem without have to modify the code? On Tue, Jul 7, 2015 at 3:28 PM, Dmitriy Lyubimov wrote: > attachments are not showing up on apache lists. > > > On Tue, Jul 7, 2015 at 10:30 AM, Rodolfo Viana < > rodolfodelimaviana@gmail.com > > wrote: > > > Hi, > > > > I=E2=80=99m trying to run Mahout 0.10 using Spark 1.1.1 and so far I di= dn=E2=80=99t have > > any success passing a file on hdfs. My actual problem is when I try to > run > > the example: > > > > bin/mahout spark-itemsimilarity --input hdfs://localhost:9000/input > > --output hdfs://localhost:9000/output > > > > And I=E2=80=99m having this error: (attach) > > > > > > > > I was googling and I found this solution > > > > Configuration configuration =3D new Configuration(); > > > > FileSystem hdfsFileSystem =3D FileSystem.get(new URI("hdfs://localhost:= 9000 > > "),configuration); > > > > > > > http://techidiocy.com/java-lang-illegalargumentexception-wrong-fs-expecte= d-file/ > > > > but I don=E2=80=99t want modify the original code. > > > > Is there any way that I can resolve this problem without have to modify > > the code? > > > > -- > > Rodolfo de Lima Viana > > Undergraduate in Computer Science at UFCG > > > > > --=20 Rodolfo de Lima Viana Undergraduate in Computer Science at UFCG --001a113a34c221e326051a4d49d7--