码迷,mamicode.com
首页 > 数据库 > 详细

error: stable identifier required, but $iwC.this.$VAL4.sqlContext found.

时间:2015-07-07 12:43:52      阅读:281      评论:0      收藏:0      [点我收藏+]

标签:

在spark_shell创建SQLContext导入对象后sqlContext时间,例如,下面的例外:

技术分享

找个理由sqlContext必须是val类型。

后引入到正常的变化。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

error: stable identifier required, but $iwC.this.$VAL4.sqlContext found.

标签:

原文地址:http://www.cnblogs.com/gcczhongduan/p/4626502.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!