Dataframe from mysql database in pyspark

2015-04-16 Thread Suraj Shetiya
Hi, Is there any means of transforming mysql databases into dataframes from pyspark. Iwas about to find a document that converts mysql database to dataframe in spark-shell(http://www.infoobjects.com/spark-sql-jdbcrdd/) using jdbc. I had been through the official documentation and can't find any

Re: spark shell paste mode is not consistent

2015-04-16 Thread vinodkc
Yes I could see all actions in Spark UI. Paste command is returning last action result to console, that is why I got confused. Thank you for the help Vinod On Apr 16, 2015 5:22 PM, Sean Owen [via Apache Spark Developers List] ml-node+s1001551n11624...@n3.nabble.com wrote: No, look at the

Re: spark shell paste mode is not consistent

2015-04-16 Thread Vinod KC
Hi Sean, In paste mode , shell is evaluating only last action.It ignores previous actions .ie , it is not executing actions textFile.count() and textFile.first Thanks Vinod I'm not sure I understand what you are suggesting is wrong. It prints the result of the last command. In the second

Re: spark shell paste mode is not consistent

2015-04-16 Thread Sean Owen
No, look at the Spark UI. You can see all three were executed. On Thu, Apr 16, 2015 at 12:05 PM, Vinod KC vinod.kc...@gmail.com wrote: Hi Sean, In paste mode , shell is evaluating only last action.It ignores previous actions .ie , it is not executing actions textFile.count() and

Re: spark shell paste mode is not consistent

2015-04-16 Thread Sean Owen
I'm not sure I understand what you are suggesting is wrong. It prints the result of the last command. In the second case that is the whole pasted block so you see 19. On Apr 16, 2015 11:37 AM, vinodkc vinod.kc...@gmail.com wrote: Hi All, I faced below issue while working with spark. It seems

Re: Dataframe from mysql database in pyspark

2015-04-16 Thread Reynold Xin
There is a jdbc in the SQLContext scala doc: https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.SQLContext Note that this is more of a user list question On Thu, Apr 16, 2015 at 5:11 AM, Suraj Shetiya surajshet...@gmail.com wrote: Hi, Is there any means of

Re: how long does it takes for full build ?

2015-04-16 Thread Ted Yu
You can find the command at the beginning of the console output: [centos] $ /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/bin/mvn -DHADOOP_PROFILE=hadoop-2.4 -Dlabel=centos -DskipTests -Phadoop-2.4 -Pyarn -Phive clean package On Thu, Apr 16, 2015 at 12:42 PM, Sree V

Gitter chat room for Spark

2015-04-16 Thread Nicholas Chammas
Would we be interested in having a public chat room? Gitter http://gitter.im offers them for free for open source projects. It's like web-based IRC. Check out the Docker room for example: https://gitter.im/docker/docker And if people prefer to use actual IRC, Gitter offers a bridge for that

Re: how long does it takes for full build ?

2015-04-16 Thread Kushal Datta
15-20mins. On Thu, Apr 16, 2015 at 11:56 AM, Sree V sree_at_ch...@yahoo.com.invalid wrote: Hi Team, How long does it takes for a full build 'mvn clean package' on spark 1.2.2-rc1 ? Thanking you. With Regards Sree

Re: how long does it takes for full build ?

2015-04-16 Thread Sree V
1. 40 min+ to 1hr+, from jenkins.I didn't find the commands of the job. Does it require a login ? Part of the console output: git checkout -f 3ae37b93a7c299bd8b22a36248035bca5de3422f git rev-list de4fa6b6d12e2bee0307ffba2abfca0c33f15e45 # timeout=10 Triggering Spark-Master-Maven-pre-YARN ?

Re: how long does it takes for full build ?

2015-04-16 Thread Sree V
Found it, Ted. Thank you.https://amplab.cs.berkeley.edu/jenkins/job/Spark-1.2-Maven-pre-YARN/hadoop.version=2.0.0-mr1-cdh4.1.2,label=centos/354/consoleFull We locally build with -DskipTests and on our jenkins as well. Thanking you. With Regards Sree On Thursday, April 16, 2015 1:04 PM,

how long does it takes for full build ?

2015-04-16 Thread Sree V
Hi Team, How long does it takes for a full build 'mvn clean package' on spark 1.2.2-rc1 ? Thanking you. With Regards Sree

Re: how long does it takes for full build ?

2015-04-16 Thread Sree V
+ ShaneHi Shane, Would you address 1. please ?  Thanking you. With Regards Sree On Thursday, April 16, 2015 12:46 PM, Sree V sree_at_ch...@yahoo.com.INVALID wrote: 1. 40 min+ to 1hr+, from jenkins.I didn't find the commands of the job. Does it require a login ? Part of the

Re: [VOTE] Release Apache Spark 1.2.2

2015-04-16 Thread Sree V
In my effort to vote for this release, I found these along: This is from jenkins. It uses -DskipTests. [centos] $ /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/bin/mvn -Dhadoop.version=2.0.0-mr1-cdh4.1.2 -Dlabel=centos -DskipTests clean packageWe build on our locals /

[RESULT] [VOTE] Release Apache Spark 1.2.2

2015-04-16 Thread Patrick Wendell
I'm gonna go ahead and close this now - thanks everyone for voting! This vote passes with 7 +1 votes (6 binding) and no 0 or -1 votes. +1: Mark Hamstra* Reynold Xin Kirshna Sankar Sean Owen* Tom Graves* Joseph Bradley* Sean McNamara* 0: -1: Thanks! - Patrick On Thu, Apr 16, 2015 at 3:27 PM,