spark编译错误解决 Error:(52, 75) not found: value TCLIService

对于2.20版本可能会出现以下问题:

spark\sql\hive-thriftserver\src\main\java\org\apache\hive\service\cli\thrift\ThriftCLIService.java

Error:(52, 75) not found: value TCLIService

public abstract class ThriftCLIService extends AbstractService implements TCLIService.Iface, Runnable {………..

针对这种情况,只用在spark\sql\hive-thriftserver\src\gen\java右键中点Mark Directory as->Sources Root即可

posted on 2018-05-08 16:21  moonlight.ml  阅读(391)  评论(0编辑  收藏  举报

导航