質問

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?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top