簡體   English   中英

缺少Hive Execution Jar:/usr/local/apache-hive-2.1.0-bin/lib/hive-exec-*.jar

[英]Missing Hive Execution Jar: /usr/local/apache-hive-2.1.0-bin/lib/hive-exec-*.jar

在運行配置單元時,我遇到了以下錯誤

Missing Hive Execution Jar: /usr/local/apache-hive-2.1.0-bin/lib/hive-exec-*.jar

查看所有相關帖子,如Missing Hive Execution Jar:/usr/local/hadoop/hive/lib/hive-exec-*.jar

但沒有幫助.. !! 幾乎嘗試了一切

按照此處的步驟安裝http://www.bogotobogo.com/Hadoop/BigData_hadoop_Hive_Install_On_Ubuntu_16_04.php

這是我的所有設置

#HADOOP VARIABLES START
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export HADOOP_INSTALL=/usr/local/hadoop
export PATH=$PATH:$HADOOP_INSTALL/bin
export PATH=$PATH:$HADOOP_INSTALL/sbin
export HADOOP_MAPRED_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_HOME=$HADOOP_INSTALL
export HADOOP_HDFS_HOME=$HADOOP_INSTALL
export YARN_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_INSTALL/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_INSTALL/lib"
#HADOOP VARIABLES END

#PIG VARIABLES
export PATH=$PATH:/usr/local/pig/pig-0.16.0/bin
export PIG_HOME=/usr/local/pig/pig-0.16.0
export PIG_CLASSPATH=/usr/local/pig/pig-0.16.0/conf

#HIVE VARIABLES
export HIVE_HOME=/usr/local/apache-hive-2.1.0-bin
export HIVE_CONF_DIR=/usr/local/apache-hive-2.1.0-bin/conf
export PATH=$PATH:$HIVE_HOME/bin
export CLASSPATH=$CLASSPATH:/usr/local/hadoop/lib/*:.
export CLASSPATH=$CLASSPATH:/usr/local/apache-hive-2.1.0-bin/lib/*:.

在這個目錄/usr/local/apache-hive-2.1.1-bin/lib下面的罐子也可用

- hive-exec-2.1.1.jar
- hive-jdbc-2.1.1.jar

任何建議都會非常有用...... !!

謝謝

檢查並查看$ HIVE_HOME是否指向正確的文件夾。 您可能錯誤拼寫或者指向您不再安裝在本地的HIVE版本。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM