我使用mapR Hive 1.2与Hadoop 2.7.0。当尝试运行以下命令时:
add jar maprfs:///user/john/customSerde.jar
我得到以下错误:
invalid url: maprfs:///user/john/customSerde.jar, expecting ( file | hdfs | ivy) as url scheme.
Query returned non-zero code: 1, cause: invalid url: maprfs:///user/john/customSerde.jar, expecting ( file | hdfs | ivy) as url scheme.
它无法检测到maprfs:///方案。然而,同样的命令在mapR hive 0.13中工作得很好。有人能帮忙吗?
这似乎是一个bug。
解决方法是使用hdfs://
代替传统的maprfs://