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

后端 未结 11 1864
滥情空心
滥情空心 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:20
    1. Try cross checking your environment variable path, in case you typed it wrong.

    2. Try Reloading .bashrc by typing following command

      source ~/.bashrc

    3. Try rebooting your machine
    0 讨论(0)
  • 2021-01-13 14:21

    Just find your hive-exec-*.jar folder and create a symbolic link to it.

    in my case, first i go to hive folder using "cd /usr/local/Cellar/hive/1.2.1"

    and then run command "ln -s libexec/lib/ lib"

    0 讨论(0)
  • 2021-01-13 14:21

    Try this :

    export HIVE_HOME=$HADOOP_HOME/hive/build/dist
    export PATH=$HIVE_HOME/bin:$PATH
    
    0 讨论(0)
  • 2021-01-13 14:28

    In my case, a simple reboot helped after setting the PATH variable.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题