Hi Pat,

Thanks for your input!

I'm not sure what the error I posted was about. I got that error and a
'cannot allocate memory' error alternatingly. I added swap memory to the
cloud server and now the e-com recommender template works!

Success :)

Thank you very much for all your help. Next I'll see if I can get the UR to
work.

On 31 October 2017 at 17:57, Pat Ferrel <[email protected]> wrote:

> The versions of services installed must work with each other and be
> compatible with the version built into PIO. So I install the latest stable
> services and build PIO using the latest artifacts. Unless there has been a
> major version change (Google Semantic Versioning) you will usually be able
> to run an older client with a newer service.
>
> This is a long explanation to say building PIO
> with spark-2.1.1-bin-hadoop2.6 but installing Hadoop 2.7.3 will work fine.
> I use it.
>
> When you get the error try `pio build --clean --verbose` to get a full
> report of the error.
>
>
> On Oct 31, 2017, at 7:20 AM, Noelia Osés Fernández <[email protected]>
> wrote:
>
> Could this error be happening because of the following?
>
> I've reinstalled PIO 0.12.0-incubating and during the installation I've
> observed that the screen print out read the following:
>
> PIO_SCALA_VERSION=2.11.8
> PIO_SPARK_VERSION=2.1.1
> PIO_ELASTICSEARCH_VERSION=5.5.2
> PIO_HADOOP_VERSION=2.7.3
>
> However, following the installation instructions on the PIO website
> https://predictionio.incubator.apache.org/install/install-sourcecode/,
> the hadoop version installed while installing spark does not match the
> above requirements:
>
> $ wget http://d3kbcqa49mib13.cloudfront.net/spark-2.1.1-bin-hadoop2.6.tgz$ 
> tar zxvfC spark-2.1.1-bin-hadoop2.6.tgz PredictionIO-0.12.0-incubating/vendors
>
>
> Could this be the cause of the error mentioned in my previous email?
>
> Any help will be much appreciated.
>
> Noelia
>
>
>
> On 25 October 2017 at 11:27, Noelia Osés Fernández <[email protected]>
> wrote:
>
>> Hi all,
>>
>> I've just installed PIO 0.12.0-incubating and I'm trying to run the e-com
>> recommender engine using E-Commerce Recommendation
>> <https://github.com/apache/incubator-predictionio-template-ecom-recommender>
>> template to test that everything is working well on a cloud server.
>>
>> However, while I'm trying to build the engine I get the following error:
>>
>> [INFO] [Engine$] Using command '/home/ubuntu/PredictionIO/apa
>> che-predictionio-0.12.0-incubating/PredictionIO-0.12.0-incubating/sbt/sbt'
>> at /home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubat
>> ing/PredictionIO-0.12.0-incubating/ecomrecom to build.
>> [INFO] [Engine$] If the path above is incorrect, this process will fail.
>> [INFO] [Engine$] Uber JAR disabled. Making sure
>> lib/pio-assembly-0.12.0-incubating.jar is absent.
>> [INFO] [Engine$] Going to run: /home/ubuntu/PredictionIO/apac
>> he-predictionio-0.12.0-incubating/PredictionIO-0.12.0-incubating/sbt/sbt
>> package assemblyPackageDependency in /home/ubuntu/PredictionIO/apac
>> he-predictionio-0.12.0-incubating/PredictionIO-0.12.0-
>> incubating/ecomrecom
>>
>> *[ERROR] [Engine$] Return code of build command:
>> /home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12.0-incubating/sbt/sbt
>> package assemblyPackageDependency is 1. Aborting.*
>> I have no idea what this error message means.
>> Any help is much appreciated.
>>
>> Best regards,
>> Noelia
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
>
>


-- 
<http://www.vicomtech.org>

Noelia Osés Fernández, PhD
Senior Researcher |
Investigadora Senior

[email protected]
+[34] 943 30 92 30
Data Intelligence for Energy and
Industrial Processes | Inteligencia
de Datos para Energía y Procesos
Industriales

<https://www.linkedin.com/company/vicomtech>
<https://www.youtube.com/user/VICOMTech>
<https://twitter.com/@Vicomtech_IK4>

member of:  <http://www.graphicsmedia.net/>     <http://www.ik4.es>

Legal Notice - Privacy policy <http://www.vicomtech.org/en/proteccion-datos>

Reply via email to