Missing Hive Execution Jar: /usr/local/hadoop/hive/lib/hive-exec-*.jar

后端 未结 11 1881
滥情空心
滥情空心 2021-01-13 13:24

I have Hadoop 1.0.4 running on a single node cluster set up on my Ubuntu machine.

I did the following steps to download and install the hive release



        
11条回答
  •  不知归路
    2021-01-13 14:31

    The question is about that the hive path, So you can check up all configuration file involving the hive path. Remember that you must confirm that the hadoop had been installed.

    1, the environment parameter(/etc/profile or ~/.profile)

    export HIVE_HOME=/usr/app/apache-hive-2.3.0-bin
    export PATH=$HIVE_HOME/bin:$PATH
    

    2, $HIVE_HOME/conf/hive-env.sh

    export JAVA_HOME= ${Your_JAVA_HOME_directory}
    export HADOOP_HOME= ${Your_HADOOP_HOME_directory}
    export HIVE_HOME= ${Your_HIVE_HOME_directory}
    export HIVE_CONF_DIR= ${Your_HIVE_HOME_directory}/conf
    

    Hive is based on Hadoop, so you must configure the hadoop's path on the hive-env.sh.

提交回复
热议问题