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月
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,
, 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
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
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
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-
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*
>
>
>
>
>
>
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*