HDInsight Hive在ADD JAR语句中找不到SerDe jar [英] HDInsight Hive not finding SerDe jar in ADD JAR statement

查看:932
本文介绍了HDInsight Hive在ADD JAR语句中找不到SerDe jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将json-serde-1.1.9.2.jar上载到路径为/ lib /的blob商店,并添加了

  ADD JAR /lib/json-serde-1.1.9.2.jar 

但是, / p>

  /lib/json-serde-1.1.9.2.jar不存在

我试过了,没有路径,并且提供了完整的url到 ADD JAR 语句同样的结果。



请真的很感谢这方面的一些帮助,谢谢!

解决方案

如果您不包含该方案,那么Hive将查看本地文件系统(您可以在第768行的代码中看到代码)
$ b $ / $ / $ / $ / $ / $ / b

当您包含URI时,请确保您使用完整形式: /json-serde-1.1.9.2.jar

如果仍然无效,请提供您的更新命令以及有关如何启动代码的一些详细信息。您是通过Hive shell运行的群集,还是通过PowerShell或其他API远程运行?


I've uploaded json-serde-1.1.9.2.jar to the blob store with path "/lib/" and added

ADD JAR /lib/json-serde-1.1.9.2.jar

But am getting

/lib/json-serde-1.1.9.2.jar does not exist

I've tried it without the path and also provided the full url to the ADD JAR statement with the same result.

Would really appreciate some help on this, thanks!

解决方案

If you don't include the scheme, then Hive is going to look on the local filesystem (you can see the code around line 768 of the source)

when you included the URI, make sure you use the full form:

ADD JAR wasb:///lib/json-serde-1.1.9.2.jar

If that still doesn't work, provide your updated command as well as some details about how you are launching the code. Are you RDP'd in to the cluster running via the Hive shell, or running remote via PowerShell or some other API?

这篇关于HDInsight Hive在ADD JAR语句中找不到SerDe jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆