Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06AF6200D28 for ; Mon, 23 Oct 2017 18:01:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 055161609CE; Mon, 23 Oct 2017 16:01:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F07C81609E0 for ; Mon, 23 Oct 2017 18:01:30 +0200 (CEST) Received: (qmail 70140 invoked by uid 500); 23 Oct 2017 16:01:30 -0000 Mailing-List: contact user-help@predictionio.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.apache.org Delivered-To: mailing list user@predictionio.apache.org Received: (qmail 70123 invoked by uid 99); 23 Oct 2017 16:01:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Oct 2017 16:01:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 893B91A11AF for ; Mon, 23 Oct 2017 16:01:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=occamsmachete-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 6JigcbYKr6wv for ; Mon, 23 Oct 2017 16:01:25 +0000 (UTC) Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 34E7160E09 for ; Mon, 23 Oct 2017 16:01:25 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id d28so17433358pfe.2 for ; Mon, 23 Oct 2017 09:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=occamsmachete-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=CZO3UHjqEfxHF5OQ4SECrK3dlJNwPfdQSq3GF/Lp9gc=; b=YhZvNa1z+ySW5TyEK2R/VoHAFckGzvBAiYINHF5n3yfyDfs7VQtFUGUbtfwSfSfq+l anKh55FE496JGs5ftguLbEAvv+g69wabTMFMjSiGePpqJZO7L15dizwr92NwmtU1Kyua 7l9wbbFf3SmjSgdJu8mnYVNXZ2YxdtYCgKLhZQqiXBWB5Tb1N6C/aWJQoQWjOzLWGZeu DWtfKZIQrpZXSK6WnTswAxT5SzI6iDb17PsHukPhON9+3Me4yGBeomNg1Aj0HdUzTbdO PBLotrvodjIOQ3dCAwSIFupNM38kEElRWvmbUR1ZuODijdd+7beC98eDc4bHoJxchKGT 0nNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=CZO3UHjqEfxHF5OQ4SECrK3dlJNwPfdQSq3GF/Lp9gc=; b=jCqWOBWx5pyhNOtwEJbEegAfjEtdOvP6rLRydZW9JaqaHuQzeizCL6cv0vQgjAu8LP erJHHp3sg0aUlXWojBShHfIBEsmmXqjYydl2ygvLSVK9yPPm1LOR0cur07IRmiFchECY QgegLiYtycFTOk80L1cJmiF9f7i0WFev/A3vUBi4olNeAWJkpPGCSW7s/Hga2+GNVzgW ygrW+kpSVuUQ4yG0vcGZKt/zYoDQsTYpqQG0GNAswYng/sMQtpt97GB6FNsuf5QtaqHe Ufnjt99n4OLip7MmstFTLj0s7UynAVu9jyLobiD6/vnZtFQfoicn6ey2RuIMOTTn2Brg 3VmA== X-Gm-Message-State: AMCzsaV9sC90dQG248MZheAd1nu3758NwqybRblr2MSzNPIHcSmxWF9A SDB6QFX4qOHvzhMUl0MxQ+4ylLWmbI0= X-Google-Smtp-Source: ABhQp+QeZPKF09rH5dnMFbQbVMrUTvrA+Ix5aBHKcrmFJ/LTe+65uULtcd7NRtuozh91Grgebj4V1w== X-Received: by 10.84.134.164 with SMTP id 33mr10827311plh.323.1508774484155; Mon, 23 Oct 2017 09:01:24 -0700 (PDT) Received: from [192.168.0.4] (c-24-18-213-211.hsd1.wa.comcast.net. [24.18.213.211]) by smtp.gmail.com with ESMTPSA id q70sm15957786pfj.39.2017.10.23.09.01.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Oct 2017 09:01:23 -0700 (PDT) From: Pat Ferrel Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_8AA9A36A-CAA2-47D2-B8C3-9C406E0B04B9" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: PIO 0.12.0 on cloud server: ImportError: No module named predictionio Date: Mon, 23 Oct 2017 09:01:22 -0700 In-Reply-To: Cc: user@predictionio.incubator.apache.org To: user@predictionio.apache.org References: X-Mailer: Apple Mail (2.3273) archived-at: Mon, 23 Oct 2017 16:01:32 -0000 --Apple-Mail=_8AA9A36A-CAA2-47D2-B8C3-9C406E0B04B9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Also you won=E2=80=99t be able to use the UR test data with the Apache = ECom template. They are fundamentally different and the UR is currently = being ported to PIO 0.12.0 ready for testing this week. On Oct 23, 2017, at 7:33 AM, Noelia Os=C3=A9s Fern=C3=A1ndez = wrote: Hi all, I have made a clean installation of Prediction IO 0.12.0 on a cloud = server following all the installation defaults. The installation seemed = to go well and pio status reported no errors. However, when I ran the = UR's handmade's integration test I got the following error message: Checking status, should exit if pio is not running. [INFO] [Management$] Inspecting PredictionIO... [INFO] [Management$] PredictionIO 0.12.0-incubating is installed at = /home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubating/Prediction= IO-0.12.0-incubating [INFO] [Management$] Inspecting Apache Spark... [INFO] [Management$] Apache Spark is installed at = /home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubating/Prediction= IO-0.12.0-incubating/vendors/spark-2.1.1-bin-hadoop2.6 [INFO] [Management$] Apache Spark 2.1.1 detected (meets minimum = requirement of 1.3.0) [INFO] [Management$] Inspecting storage backend connections... [INFO] [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)... [INFO] [Storage$] Verifying Model Data Backend (Source: LOCALFS)... [INFO] [Storage$] Verifying Event Data Backend (Source: HBASE)... [INFO] [Storage$] Test writing to Event Store (App Id 0)... [INFO] [HBLEvents] The table pio_event:events_0 doesn't exist yet. = Creating now... [INFO] [HBLEvents] Removing table pio_event:events_0... [INFO] [Management$] Your system is all ready to go. [ERROR] [App$] App handmade already exists. Aborting. Checking to see if handmade app exists, should exit if not. [INFO] [Pio$] App Name: handmade [INFO] [Pio$] App ID: 1 [INFO] [Pio$] Description:=20 [INFO] [Pio$] Access Key: = HLc0UgUVbRsxRjwhXuT1s_TFfdtU7JE66_J7Ro0a31BtJo4Guf-HbYhwDTZMPbKv | (all) Moving engine.json to user-engine.json if it exists Moving examples/handmade-engine.json to engine.json for integration = test. Deleting handmade app data since the test is date dependent [INFO] [Pio$] Data of the following app (default channel only) will be = deleted. Are you sure? [INFO] [Pio$] App Name: handmade [INFO] [Pio$] App ID: 1 [INFO] [Pio$] Description: None [INFO] [HBLEvents] Removing table pio_event:events_1... [INFO] [App$] Removed Event Store for the app ID: 1 [INFO] [HBLEvents] The table pio_event:events_1 doesn't exist yet. = Creating now... [INFO] [App$] Initialized Event Store for the app ID: 1 Importing data for integration test Access key: = HLc0XgUWbRsxRjwhYuT1s_TDfdtU7AE66_J7Ro0a31BtJo4Guf-HbYhwDTZMPbKv Traceback (most recent call last): File "examples/import_handmade.py", line 5, in import predictionio ImportError: No module named predictionio As the github repo doesn't mention that UR has been upgraded to work = with PIO 0.12.0, I have also tried with the E-Commerce Recommendation = Template = (https://github.com/apache/incubator-predictionio-template-ecom-recommende= r = ) which explicitly mentions it has been upgraded to keep up with PIO = 0.12.0. However, I have run into the same error message when importing = the data using python. I would very much appreciate any pointers that help me solve this = problem. =20 Thank you! noelia --Apple-Mail=_8AA9A36A-CAA2-47D2-B8C3-9C406E0B04B9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Also you won=E2=80=99t be able to use the UR test data with = the Apache ECom template. They are fundamentally different and the UR is = currently being ported to PIO 0.12.0 ready for testing this week.


On Oct 23, 2017, at 7:33 AM, Noelia Os=C3=A9s Fern=C3=A1ndez = <noses@vicomtech.org> wrote:

Hi all,

I have made a clean installation of = Prediction IO 0.12.0 on a cloud server following all the installation = defaults. The installation seemed to go well and pio status reported no = errors. However, when I ran the UR's handmade's integration test I got = the following error message:

Checking status, should exit if = pio is not running.
[INFO] [Management$] Inspecting = PredictionIO...
[INFO] [Management$] PredictionIO = 0.12.0-incubating is installed at = /home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubating/Prediction= IO-0.12.0-incubating
[INFO] [Management$] Inspecting = Apache Spark...
[INFO] [Management$] Apache Spark is = installed at = /home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubating/Prediction= IO-0.12.0-incubating/vendors/spark-2.1.1-bin-hadoop2.6
[INFO] [Management$] Apache Spark 2.1.1 detected (meets = minimum requirement of 1.3.0)
[INFO] [Management$] = Inspecting storage backend connections...
[INFO] = [Storage$] Verifying Meta Data Backend (Source: ELASTICSEARCH)...
[INFO] [Storage$] Verifying Model Data Backend (Source: = LOCALFS)...
[INFO] [Storage$] Verifying Event Data Backend = (Source: HBASE)...
[INFO] [Storage$] Test writing to Event = Store (App Id 0)...
[INFO] [HBLEvents] The table = pio_event:events_0 doesn't exist yet. Creating now...
[INFO]= [HBLEvents] Removing table pio_event:events_0...
[INFO] = [Management$] Your system is all ready to go.
[ERROR] = [App$] App handmade already exists. Aborting.

Checking to see if handmade app exists, should exit if = not.
[INFO] [Pio$]     App Name: = handmade
[INFO] [Pio$]       = App ID: 1
[INFO] [Pio$]  Description:
[INFO] [Pio$]   Access Key: = HLc0UgUVbRsxRjwhXuT1s_TFfdtU7JE66_J7Ro0a31BtJo4Guf-HbYhwDTZMPbKv | = (all)

Moving engine.json to = user-engine.json if it exists

Moving = examples/handmade-engine.json to engine.json for integration test.

Deleting handmade app data since the test is = date dependent
[INFO] [Pio$] Data of the following app = (default channel only) will be deleted. Are you sure?
[INFO]= [Pio$]     App Name: handmade
[INFO] = [Pio$]       App ID: 1
[INFO] = [Pio$]  Description: None
[INFO] [HBLEvents] Removing = table pio_event:events_1...
[INFO] [App$] Removed Event = Store for the app ID: 1
[INFO] [HBLEvents] The table = pio_event:events_1 doesn't exist yet. Creating now...
[INFO]= [App$] Initialized Event Store for the app ID: 1

Importing data for integration test
Access key: = HLc0XgUWbRsxRjwhYuT1s_TDfdtU7AE66_J7Ro0a31BtJo4Guf-HbYhwDTZMPbKv
Traceback (most recent call last):
  File = "examples/import_handmade.py", line 5, in <module>
    import predictionio
ImportError: No module named predictionio

As the github repo doesn't mention = that UR has been upgraded to work with PIO 0.12.0, I have also tried = with the E-Commerce Recommendation Template (https://github.com/apache/incubator-predictionio-template-ecom-= recommender) which explicitly mentions it has been upgraded to keep = up with PIO 0.12.0. However, I have run into the same error message when = importing the data using python.

I = would very much appreciate any pointers that help me solve this = problem.
 
Thank = you!
noelia

= --Apple-Mail=_8AA9A36A-CAA2-47D2-B8C3-9C406E0B04B9--