You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Luciano Andino <lu...@gmail.com> on 2017/10/18 17:08:54 UTC

installing environment (stops when compiling "compiler-interface" for Scala)

Hello, this is my first post in email list. I am trying to install
environment but I have some problem in "compiler-interface" for Scala.
I have KEYS file and source. Java version is "1.8.0_151".


luciano@localhost:~/predic$ gpg --import KEYS
gpg: key D3541808: "Suneel Marthi (CODE SIGNING KEY) <sm...@apache.org>"
not changed
gpg: key 8BF4ABEB: "Donald Szeto (CODE SIGNING KEY) <do...@apache.org>"
not changed
gpg: key 4719A8F4: "Chan Lee <ch...@apache.org>" not changed
gpg: Total number processed: 3
gpg:              unchanged: 3
luciano@baturite:~/predic$

luciano@localhost:~/predic$ gpg --verify
apache-predictionio-0.12.0-incubating-bin.tar.gz.asc
apache-predictionio-0.12.0-incubating.tar.gz
gpg: Signature made Sun 17 Sep 2017 05:30:49 PM UTC using RSA key ID
4719A8F4
gpg: BAD signature from "Chan Lee <ch...@apache.org>"
luciano@localhost:~/predic$

luciano@localhost:~/predic$ ./make-distribution.sh
Building binary distribution for PredictionIO 0.12.0-incubating...
+ sbt/sbt clean
[warn] Executing in batch mode.
[warn]   For better performance, hit [ENTER] to switch to interactive mode,
or
[warn]   consider launching sbt without any commands, or explicitly passing
'shell'

[.......]

[info] downloading
https://repo1.maven.org/maven2/org/scala-lang/jline/2.10.6/jline-2.10.6.jar
...
[info]  [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (54ms)
[info] downloading
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.4/jansi-1.4.jar
...
[info]  [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (50ms)
[info] Done updating.
[info] Compiling 1 Scala source to
/home/luciano/predic/project/target/scala-2.10/sbt-0.13/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.10.6. Compiling...
./make-distribution.sh: line 70: 20560 Killed                  sbt/sbt
"${JAVA_PROPS[@]}" clean
luciano@localhost:~/predic$

what is missing?

thanks in advance)


-- 
Luciano Andino
Ing. en Sistemas de Información
UTN FRSF - BMSTU

Re: installing environment (stops when compiling "compiler-interface" for Scala)

Posted by Pat Ferrel <pa...@occamsmachete.com>.
Memory depends on your data and the engine you are using. Spark puts all data into memory across the Spark cluster so if that is one machine, 4g will not allow more than toy or example data. Remember that PIO and Machine Learning in general works best with big data. 

BTW my laptop has 16g and I can only process limited data in an all-in-one configuration. Unless you are connecting to external services like Spark, or HDFS, etc, 4g will not get you very far.

 
On Oct 18, 2017, at 10:43 AM, Donald Szeto <do...@apache.org> wrote:

I would usually use at least 4GB just to be safe. If you are not looking to customize PIO itself, you may download pre-built binaries (which is available starting 0.12.0-incubating) from https://www.apache.org/dyn/closer.cgi/incubator/predictionio/0.12.0-incubating/apache-predictionio-0.12.0-incubating-bin.tar.gz <https://www.apache.org/dyn/closer.cgi/incubator/predictionio/0.12.0-incubating/apache-predictionio-0.12.0-incubating-bin.tar.gz>. That way you don't have to spin up a big machine to build it if you're just trying it out.

We are in the process of updating our web site to include installation using binaries. Apologies for the delay.

On Wed, Oct 18, 2017 at 10:38 AM, Luciano Andino <lucianoandino.ar@gmail.com <ma...@gmail.com>> wrote:


2017-10-18 19:21 GMT+02:00 Donald Szeto <donald@apache.org <ma...@apache.org>>:
Looks like an out-of-memory issue here. How much memory does the build environment has?

A virtual server with 1GB in DigitalOcean . A system with 2GB of RAM would be enough?



 

On Wed, Oct 18, 2017 at 10:08 AM, Luciano Andino <lucianoandino.ar@gmail.com <ma...@gmail.com>> wrote:
Hello, this is my first post in email list. I am trying to install environment but I have some problem in "compiler-interface" for Scala.
I have KEYS file and source. Java version is "1.8.0_151".


luciano@localhost:~/predic$ gpg --import KEYS
gpg: key D3541808: "Suneel Marthi (CODE SIGNING KEY) <smarthi@apache.org <ma...@apache.org>>" not changed
gpg: key 8BF4ABEB: "Donald Szeto (CODE SIGNING KEY) <donald@apache.org <ma...@apache.org>>" not changed
gpg: key 4719A8F4: "Chan Lee <chanlee@apache.org <ma...@apache.org>>" not changed
gpg: Total number processed: 3
gpg:              unchanged: 3
luciano@baturite:~/predic$ 

luciano@localhost:~/predic$ gpg --verify apache-predictionio-0.12.0-incubating-bin.tar.gz.asc apache-predictionio-0.12.0-incubating.tar.gz 
gpg: Signature made Sun 17 Sep 2017 05:30:49 PM UTC using RSA key ID 4719A8F4
gpg: BAD signature from "Chan Lee <chanlee@apache.org <ma...@apache.org>>"
luciano@localhost:~/predic$ 

luciano@localhost:~/predic$ ./make-distribution.sh 
Building binary distribution for PredictionIO 0.12.0-incubating...
+ sbt/sbt clean
[warn] Executing in batch mode.
[warn]   For better performance, hit [ENTER] to switch to interactive mode, or
[warn]   consider launching sbt without any commands, or explicitly passing 'shell'

[.......]

[info] downloading https://repo1.maven.org/maven2/org/scala-lang/jline/2.10.6/jline-2.10.6.jar <https://repo1.maven.org/maven2/org/scala-lang/jline/2.10.6/jline-2.10.6.jar> ...
[info]  [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (54ms)
[info] downloading https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.4/jansi-1.4.jar <https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.4/jansi-1.4.jar> ...
[info]  [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (50ms)
[info] Done updating.
[info] Compiling 1 Scala source to /home/luciano/predic/project/target/scala-2.10/sbt-0.13/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.10.6. Compiling...
./make-distribution.sh: line 70: 20560 Killed                  sbt/sbt "${JAVA_PROPS[@]}" clean
luciano@localhost:~/predic$ 

what is missing?

thanks in advance)


-- 
Luciano Andino
Ing. en Sistemas de Información
UTN FRSF - BMSTU






-- 
Luciano Andino
Ing. en Sistemas de Información
UTN FRSF - BMSTU





Re: installing environment (stops when compiling "compiler-interface" for Scala)

Posted by Donald Szeto <do...@apache.org>.
I would usually use at least 4GB just to be safe. If you are not looking to
customize PIO itself, you may download pre-built binaries (which is
available starting 0.12.0-incubating) from
https://www.apache.org/dyn/closer.cgi/incubator/predictionio/0.12.0-incubating/apache-predictionio-0.12.0-incubating-bin.tar.gz.
That way you don't have to spin up a big machine to build it if you're just
trying it out.

We are in the process of updating our web site to include installation
using binaries. Apologies for the delay.

On Wed, Oct 18, 2017 at 10:38 AM, Luciano Andino <lucianoandino.ar@gmail.com
> wrote:

>
>
> 2017-10-18 19:21 GMT+02:00 Donald Szeto <do...@apache.org>:
>
>> Looks like an out-of-memory issue here. How much memory does the build
>> environment has?
>>
>
> A virtual server with 1GB in DigitalOcean . A system with 2GB of RAM would
> be enough?
>
>
>
>
>
>>
>> On Wed, Oct 18, 2017 at 10:08 AM, Luciano Andino <
>> lucianoandino.ar@gmail.com> wrote:
>>
>>> Hello, this is my first post in email list. I am trying to install
>>> environment but I have some problem in "compiler-interface" for Scala.
>>> I have KEYS file and source. Java version is "1.8.0_151".
>>>
>>>
>>> luciano@localhost:~/predic$ gpg --import KEYS
>>> gpg: key D3541808: "Suneel Marthi (CODE SIGNING KEY) <sm...@apache.org>"
>>> not changed
>>> gpg: key 8BF4ABEB: "Donald Szeto (CODE SIGNING KEY) <do...@apache.org>"
>>> not changed
>>> gpg: key 4719A8F4: "Chan Lee <ch...@apache.org>" not changed
>>> gpg: Total number processed: 3
>>> gpg:              unchanged: 3
>>> luciano@baturite:~/predic$
>>>
>>> luciano@localhost:~/predic$ gpg --verify apache-predictionio-0.12.0-incubating-bin.tar.gz.asc
>>> apache-predictionio-0.12.0-incubating.tar.gz
>>> gpg: Signature made Sun 17 Sep 2017 05:30:49 PM UTC using RSA key ID
>>> 4719A8F4
>>> gpg: BAD signature from "Chan Lee <ch...@apache.org>"
>>> luciano@localhost:~/predic$
>>>
>>> luciano@localhost:~/predic$ ./make-distribution.sh
>>> Building binary distribution for PredictionIO 0.12.0-incubating...
>>> + sbt/sbt clean
>>> [warn] Executing in batch mode.
>>> [warn]   For better performance, hit [ENTER] to switch to interactive
>>> mode, or
>>> [warn]   consider launching sbt without any commands, or explicitly
>>> passing 'shell'
>>>
>>> [.......]
>>>
>>> [info] downloading https://repo1.maven.org/maven2
>>> /org/scala-lang/jline/2.10.6/jline-2.10.6.jar ...
>>> [info]  [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (54ms)
>>> [info] downloading https://repo1.maven.org/maven2
>>> /org/fusesource/jansi/jansi/1.4/jansi-1.4.jar ...
>>> [info]  [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (50ms)
>>> [info] Done updating.
>>> [info] Compiling 1 Scala source to /home/luciano/predic/project/t
>>> arget/scala-2.10/sbt-0.13/classes...
>>> [info] 'compiler-interface' not yet compiled for Scala 2.10.6.
>>> Compiling...
>>> ./make-distribution.sh: line 70: 20560 Killed                  sbt/sbt
>>> "${JAVA_PROPS[@]}" clean
>>> luciano@localhost:~/predic$
>>>
>>> what is missing?
>>>
>>> thanks in advance)
>>>
>>>
>>> --
>>> Luciano Andino
>>> Ing. en Sistemas de Información
>>> UTN FRSF - BMSTU
>>>
>>>
>>>
>>
>
>
> --
> Luciano Andino
> Ing. en Sistemas de Información
> UTN FRSF - BMSTU
>
>
>

Re: installing environment (stops when compiling "compiler-interface" for Scala)

Posted by Luciano Andino <lu...@gmail.com>.
2017-10-18 19:21 GMT+02:00 Donald Szeto <do...@apache.org>:

> Looks like an out-of-memory issue here. How much memory does the build
> environment has?
>

A virtual server with 1GB in DigitalOcean . A system with 2GB of RAM would
be enough?





>
> On Wed, Oct 18, 2017 at 10:08 AM, Luciano Andino <
> lucianoandino.ar@gmail.com> wrote:
>
>> Hello, this is my first post in email list. I am trying to install
>> environment but I have some problem in "compiler-interface" for Scala.
>> I have KEYS file and source. Java version is "1.8.0_151".
>>
>>
>> luciano@localhost:~/predic$ gpg --import KEYS
>> gpg: key D3541808: "Suneel Marthi (CODE SIGNING KEY) <sm...@apache.org>"
>> not changed
>> gpg: key 8BF4ABEB: "Donald Szeto (CODE SIGNING KEY) <do...@apache.org>"
>> not changed
>> gpg: key 4719A8F4: "Chan Lee <ch...@apache.org>" not changed
>> gpg: Total number processed: 3
>> gpg:              unchanged: 3
>> luciano@baturite:~/predic$
>>
>> luciano@localhost:~/predic$ gpg --verify apache-predictionio-0.12.0-incubating-bin.tar.gz.asc
>> apache-predictionio-0.12.0-incubating.tar.gz
>> gpg: Signature made Sun 17 Sep 2017 05:30:49 PM UTC using RSA key ID
>> 4719A8F4
>> gpg: BAD signature from "Chan Lee <ch...@apache.org>"
>> luciano@localhost:~/predic$
>>
>> luciano@localhost:~/predic$ ./make-distribution.sh
>> Building binary distribution for PredictionIO 0.12.0-incubating...
>> + sbt/sbt clean
>> [warn] Executing in batch mode.
>> [warn]   For better performance, hit [ENTER] to switch to interactive
>> mode, or
>> [warn]   consider launching sbt without any commands, or explicitly
>> passing 'shell'
>>
>> [.......]
>>
>> [info] downloading https://repo1.maven.org/maven2
>> /org/scala-lang/jline/2.10.6/jline-2.10.6.jar ...
>> [info]  [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (54ms)
>> [info] downloading https://repo1.maven.org/maven2
>> /org/fusesource/jansi/jansi/1.4/jansi-1.4.jar ...
>> [info]  [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (50ms)
>> [info] Done updating.
>> [info] Compiling 1 Scala source to /home/luciano/predic/project/t
>> arget/scala-2.10/sbt-0.13/classes...
>> [info] 'compiler-interface' not yet compiled for Scala 2.10.6.
>> Compiling...
>> ./make-distribution.sh: line 70: 20560 Killed                  sbt/sbt
>> "${JAVA_PROPS[@]}" clean
>> luciano@localhost:~/predic$
>>
>> what is missing?
>>
>> thanks in advance)
>>
>>
>> --
>> Luciano Andino
>> Ing. en Sistemas de Información
>> UTN FRSF - BMSTU
>>
>>
>>
>


-- 
Luciano Andino
Ing. en Sistemas de Información
UTN FRSF - BMSTU

Re: installing environment (stops when compiling "compiler-interface" for Scala)

Posted by Donald Szeto <do...@apache.org>.
Looks like an out-of-memory issue here. How much memory does the build
environment has?

On Wed, Oct 18, 2017 at 10:08 AM, Luciano Andino <lucianoandino.ar@gmail.com
> wrote:

> Hello, this is my first post in email list. I am trying to install
> environment but I have some problem in "compiler-interface" for Scala.
> I have KEYS file and source. Java version is "1.8.0_151".
>
>
> luciano@localhost:~/predic$ gpg --import KEYS
> gpg: key D3541808: "Suneel Marthi (CODE SIGNING KEY) <sm...@apache.org>"
> not changed
> gpg: key 8BF4ABEB: "Donald Szeto (CODE SIGNING KEY) <do...@apache.org>"
> not changed
> gpg: key 4719A8F4: "Chan Lee <ch...@apache.org>" not changed
> gpg: Total number processed: 3
> gpg:              unchanged: 3
> luciano@baturite:~/predic$
>
> luciano@localhost:~/predic$ gpg --verify apache-predictionio-0.12.0-incubating-bin.tar.gz.asc
> apache-predictionio-0.12.0-incubating.tar.gz
> gpg: Signature made Sun 17 Sep 2017 05:30:49 PM UTC using RSA key ID
> 4719A8F4
> gpg: BAD signature from "Chan Lee <ch...@apache.org>"
> luciano@localhost:~/predic$
>
> luciano@localhost:~/predic$ ./make-distribution.sh
> Building binary distribution for PredictionIO 0.12.0-incubating...
> + sbt/sbt clean
> [warn] Executing in batch mode.
> [warn]   For better performance, hit [ENTER] to switch to interactive
> mode, or
> [warn]   consider launching sbt without any commands, or explicitly
> passing 'shell'
>
> [.......]
>
> [info] downloading https://repo1.maven.org/maven2/org/scala-lang/jline/2.
> 10.6/jline-2.10.6.jar ...
> [info]  [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (54ms)
> [info] downloading https://repo1.maven.org/maven2/org/fusesource/jansi/
> jansi/1.4/jansi-1.4.jar ...
> [info]  [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (50ms)
> [info] Done updating.
> [info] Compiling 1 Scala source to /home/luciano/predic/project/
> target/scala-2.10/sbt-0.13/classes...
> [info] 'compiler-interface' not yet compiled for Scala 2.10.6. Compiling...
> ./make-distribution.sh: line 70: 20560 Killed                  sbt/sbt
> "${JAVA_PROPS[@]}" clean
> luciano@localhost:~/predic$
>
> what is missing?
>
> thanks in advance)
>
>
> --
> Luciano Andino
> Ing. en Sistemas de Información
> UTN FRSF - BMSTU
>
>
>