Re: Re: RE: Error not found value sqlContext

2015-11-23 Thread satish chandra j
e: >> >>> >>> Looks like a classpath problem, if you can provide the command you used >>> to run your application and environment variable SPARK_HOME, it will help >>> others to identify the root problem >>> >>> >>> 在2015年11月

Re: Re: RE: Error not found value sqlContext

2015-11-23 Thread satish chandra j
t; Looks like a classpath problem, if you can provide the command you used >> to run your application and environment variable SPARK_HOME, it will help >> others to identify the root problem >> >> >> 在2015年11月20日 18:59,Satish 写道: >> >> Hi Michael,

Re:Re: RE: Error not found value sqlContext

2015-11-23 Thread prosp4300
, if you can provide the command you used to run your application and environment variable SPARK_HOME, it will help others to identify the root problem 在2015年11月20日 18:59,Satish 写道: Hi Michael, As my current Spark version is 1.4.0 than why it error out as "error: not found: value sqlCon

Re: RE: Error not found value sqlContext

2015-11-20 Thread satish chandra j
why it error out as "error: not > found: value sqlContext" when I have "import sqlContext.implicits._" in my > Spark Job > > Regards > Satish Chandra > -- > From: Michael Armbrust > Sent: ‎20-‎11-‎2015 01:36 > To: satis

回复:RE: Error not found value sqlContext

2015-11-20 Thread prosp4300
error: not found: value sqlContext" when I have "import sqlContext.implicits._" in my Spark Job Regards Satish Chandra From: Michael Armbrust Sent: ‎20-‎11-‎2015 01:36 To: satish chandra j Cc: user; hari krishna Subject: Re: Error not found value sqlContext http://spark.apache

RE: Error not found value sqlContext

2015-11-20 Thread Satish
Hi Michael, As my current Spark version is 1.4.0 than why it error out as "error: not found: value sqlContext" when I have "import sqlContext.implicits._" in my Spark Job Regards Satish Chandra -Original Message- From: "Michael Armbrust" Sent: ‎20-‎11-‎

Re: Error not found value sqlContext

2015-11-19 Thread Michael Armbrust
olution I get everywhere is to use "import sqlContext.implicits._" > after val SQLContext = new org.apache.spark.sql.SQLContext(sc) > > But it errors with the two generic errors > > *1. error: not found: value sqlContext* > > *2. value toDF is not a member of org.apache.spark.rdd.RDD* > > > > > >

Error not found value sqlContext

2015-11-19 Thread satish chandra j
le --> perform SQL query on temptable Only solution I get everywhere is to use "import sqlContext.implicits._" after val SQLContext = new org.apache.spark.sql.SQLContext(sc) But it errors with the two generic errors *1. error: not found: value sqlContext* *2. value toDF is not a member of org.apache.spark.rdd.RDD*