在Hive中永久添加/定义罐子 [英] Adding/Defining Jars in Hive permanently
本文介绍了在Hive中永久添加/定义罐子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
命令:hive> add myjar.jar
但是每当我登录到配置单元时,我需要使用add cmd添加myjar.jar。
有什么办法可以将它永久添加到Hive Classpath中。
问候,Mohammed Niaz
解决方案
将此添加到您的.hiverc文件中
add jar myjar.jar
如果您需要更多信息,请查看此内容。
http://hadooped.blogspot.in/2013/08/hive- hiverc-file.html
I was trying to add a jar in Hive classpath using below add command.
Command: hive> add myjar.jar
but whenever i login to hive, i need to add myjar.jar using add cmd. Is there any way I can add it permanently in Hive Classpath.
Regards, Mohammed Niaz
解决方案
add this to your .hiverc file
add jar myjar.jar
have a look at this if you require further info
http://hadooped.blogspot.in/2013/08/hive-hiverc-file.html
这篇关于在Hive中永久添加/定义罐子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文