Re: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-29 Thread Iulian Dragoș
here a way >> of doing this? >> >> Feels like a simple/naive question but really couldn’t find an answer. >> >> >> >> *From:* Fernandez, Andres >> *Sent:* Tuesday, January 26, 2016 2:53 PM >> *To:* 'Ewan Leith'; Iulian Dragoș >> *Cc:* user >

Re: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-29 Thread Iulian Dragoș
26, 2016 2:53 PM > *To:* 'Ewan Leith'; Iulian Dragoș > *Cc:* user > *Subject:* RE: how to correctly run scala script using spark-shell > through stdin (spark v1.0.0) > > > > True thank you. Is there a way of having the shell not closed (how to > avoid the :quit statem

RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-27 Thread Andres.Fernandez
To: 'Ewan Leith'; Iulian Dragoș Cc: user Subject: RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0) True thank you. Is there a way of having the shell not closed (how to avoid the :quit statement). Thank you both. Andres From: Ewan Leith [mailto:ewan.le

RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-26 Thread fernandrez1987
spark-shell -i file.scala is not working for me in Spark 1.6.0, was this removed or what do I have to take into account? The script does not get run at all. What can be happening?

Re: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-26 Thread Iulian Dragoș
I don’t see -i in the output of spark-shell --help. Moreover, in master I get an error: $ bin/spark-shell -i test.scala bad option: '-i' iulian ​ On Tue, Jan 26, 2016 at 3:47 PM, fernandrez1987 < andres.fernan...@wellsfargo.com> wrote: > spark-shell -i file.scala is not working for me in Spark

Re: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-26 Thread Iulian Dragoș
rguments as the Scala interpreter. I'll look into it. iulian > > > Thank you very much for your time. > > > > *From:* Iulian Dragoș [mailto:iulian.dra...@typesafe.com] > *Sent:* Tuesday, January 26, 2016 12:00 PM > *To:* Fernandez, Andres > *Cc:* user > *Subject:* R

RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-26 Thread Ewan Leith
:00 To: fernandrez1987 <andres.fernan...@wellsfargo.com> Cc: user <user@spark.apache.org> Subject: Re: how to correctly run scala script using spark-shell through stdin (spark v1.0.0) I don’t see -i in the output of spark-shell --help. Moreover, in master I get an error: $ bin/spark-shell -i

RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2016-01-26 Thread Andres.Fernandez
dra...@typesafe.com] Sent: 26 January 2016 15:00 To: fernandrez1987 <andres.fernan...@wellsfargo.com<mailto:andres.fernan...@wellsfargo.com>> Cc: user <user@spark.apache.org<mailto:user@spark.apache.org>> Subject: Re: how to correctly run scala script using spark-shell throug

RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2014-08-27 Thread Henry Hung
the script. Best regards, Henry Hung From: MA33 YTHung1 Sent: Thursday, August 28, 2014 10:01 AM To: user@spark.apache.org Subject: how to correctly run scala script using spark-shell through stdin (spark v1.0.0) HI All, Right now I'm trying to execute a script using this command: nohup

RE: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)

2014-08-27 Thread Matei Zaharia
: how to correctly run scala script using spark-shell through stdin (spark v1.0.0)   HI All,   Right now I’m trying to execute a script using this command:   nohup $SPARK_HOME/bin/spark-shell $HOME/my-script.scala $HOME/my-script.log 21   my-script.scala just have 1 line of code: println