SparkSQL使用scala查询hive中的数据 出现 Compression codec com.hadoop.compression.lzo.LzoCodec not found.
SparkSQL使用scala查询hive中的数据 出现 Compression codec com.hadoop.compression.lzo.LzoCodec not found.1、出现的问题2、解决方案查看报错源代码,发现源代码是加载resource中的配置文件,包括hdfs-site.xml、core-site.xml、hive-site.xml文件。查看core-site.xml文件中的配置,只需要将关于LZO配置注释,就OK啦3、查询成功...
复制链接