due to the exception:java.io.FileNotFoundException: minlog-1.2.jar

使用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>

猜你喜欢

转载自weigang-gao.iteye.com/blog/2260688
今日推荐