arrow_back Apache Hive 3.1.2 Installation on Windows 10

5 months ago link more_vert

Hi Renganathan,

Can you please try the following actions?

  1. Change Hadoop 3.3.0 environment variables to the Cygwin version as documented in this article? In the output you pasted earlier, it is still using Windows path:
    export HADOOP_HOME='/cygdrive/f/big-data/hadoop-3.3.0'
    export PATH=$PATH:$HADOOP_HOME/bin
    export HIVE_HOME='/cygdrive/f/big-data/apache-hive-3.1.2-bin'

    *Remember to change the path to your own ones

  2. Make sure you can run these commands successfully with expected output:
    ls /cygdrive/f/big-data/hadoop-3.3.0
    ls /cygdrive/f/big-data/apache-hive-3.1.2-bin

    *Remember to change the path to your own ones.

  3. Examine all your Hadoop paths and configurations that there is no space in any path include DFS path in Hadoop configurations.

If you follow exactly all my steps in Hadoop 3.3.0 and Hive 3.1.2 setup, there should be no issues - I've tested it. 

BTW, to answer one of your previous question, the script locates at: apache-hive-3.1.2-bin\bin\ext\schemaTool.sh.

-Raymond

format_quote

person Renganathan access_time 5 months ago
Re: Apache Hive 3.1.2 Installation on Windows 10

I have just tried with Hadoop 3.3.0 and I am getting the same error while I use the schematool. All the hadoop processes are running fine (they were running fine even in 2.9.1). Somewhere the HIVE setup is picking up my partial user name (the second word is picked; first & second words are separated by space) and class not found error is thrown.

Forum discussions for column Hadoop.


Follow Kontext

Get our latest updates on LinkedIn or Twitter.

Want to contribute on Kontext to help others?

Learn more