使用beeline登录到hive服务端的时候报错了,错误信息如下:

解决办法:单独下载这3个jar包,然后放入到hive的lib目录下,再配置hive-site.xml配置文件,如下:
<property>
<name>hive.aux.jars.path</name>
<value>file:///root/apache-hive-1.2.1-bin/lib/minlog-1.2.jar,file:///root/apache-hive-1.2.1-bin//lib/objenesis-1.2.jar,file:///root/apache-hive-1.2.1-bin//lib/reflectasm-1.07-shaded.jar</value>
<description>The location of the plugin jars that contain implementations of user defined functions and serdes.</description>
</property>
本文介绍了解决Beeline连接Hive时遇到的问题的方法。具体步骤包括下载minlog-1.2.jar、objenesis-1.2.jar和reflectasm-1.07-shaded.jar三个jar包,并将它们放置于Hive的lib目录下。同时还需要在hive-site.xml中配置hive.aux.jars.path属性,指向这些jar包的位置。
1464

被折叠的 条评论
为什么被折叠?



