Hive 安裝一些錯誤解決方法




  1. EventCounter錯誤java

    WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.mysql

    在conf下,cp hive-log4j.properties.template hive-log4j.properties sql

    把log4j.appender.EventCounter的值改成org.apache.hadoop.log.metrics.EventCounter。apache

  2. Jline錯誤app

    java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expectedjvm

    下載jline-2.12.jar,複製到/hadoop-2.6.0/share/hadoop/yarn/lib下,原來的jline-0.9.94.jar更名爲bak後綴。oop

  3. io.tmpdir錯誤spa

    Exception in thread "main"java.lang.RuntimeException: java.lang.IllegalArgumentException:java.net.URISyntaxException: Relative path in absolute URI:${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D.net

    在hive下建立一個iotmp文當,hive-site.xml中找到全部tmpdir的項,把值爲這個目錄。orm

    如:

    <name>hive.querylog.location</name>

    <value>/usr/local/hive/iotmp</value>

  4. mysql bin的錯誤

    提示錯誤信息中寫到MYSQL BINLOG 錯誤,能夠在/etc/my.cnf中設binlog_format=row;

相關文章
相關標籤/搜索