Hi Sai, Simple ./spark-shell start spark application in "local" mode and it will work always (hopefully :))
When you specify spark url i.e. "spark://<>" It means you are running against spark standalone cluster and it implies spark master must be running on the given location (spark://localhost:7077). Have you confirmed that spark master and worker is running and master url is same as you have provided? Thanks, Sourav On Mon, Mar 17, 2014 at 1:40 PM, Sai Prasanna <ansaiprasa...@gmail.com>wrote: > Solved...but dont know whats the difference... > > just giving ./spark-shell fixes it all...but dont know why !! > > > On Mon, Mar 17, 2014 at 1:32 PM, Sai Prasanna <ansaiprasa...@gmail.com>wrote: > >> Hi everyone !! >> >> I installed scala 2.9.3, spark 0.8.1, oracle java 7... >> >> I launched master and logged on to the interactive spark shell >> MASTER=spark://localhost:7077 ./spark-shell >> >> But after one minute, automatically it exits from the interactive shell... >> >> Is there something i am missing...Do i need to set somewhere a timeout ??? >> >> Thank you !! >> >> >> -- >> *Sai Prasanna. AN* >> *II M.Tech (CS), SSSIHL* >> >> > > > -- > *Sai Prasanna. AN* > *II M.Tech (CS), SSSIHL* > > > *Entire water in the ocean can never sink a ship, Unless it gets inside. > All the pressures of life can never hurt you, Unless you let them in.* > -- Sourav Chandra Senior Software Engineer · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · sourav.chan...@livestream.com o: +91 80 4121 8723 m: +91 988 699 3746 skype: sourav.chandra Livestream "Ajmera Summit", First Floor, #3/D, 68 Ward, 3rd Cross, 7th C Main, 3rd Block, Koramangala Industrial Area, Bangalore 560034 www.livestream.com