arrow_back Apache Hive 3.1.2 Installation on Windows 10

access_time 3 months ago link more_vert
#1818 Re: Apache Hive 3.1.2 Installation on Windows 10

Can you check whether your running user has permissions to the folder?  

Installing on Windows directly is not an easy task and you need to make sure every step is correct. I suggest following this guide to install it in WSL instead:

Apache Hive 3.1.2 Installation on Linux Guide (kontext.tech)

format_quote

person PRAVEEN KUMAR access_time 3 months ago
Re: Apache Hive 3.1.2 Installation on Windows 10

cd $HIVE_HOME

/cygdrive/c/hadoop-3.2.1/hive-3.1.2


$ echo "/cygdrive/c/hadoop-3.2.1/hive-3.1.2/bin/schematool"

/cygdrive/c/hadoop-3.2.1/hive-3.1.2/bin/schematool


$ cat "/cygdrive/c/hadoop-3.2.1/hive-3.1.2/bin/schematool"

cat: /cygdrive/c/hadoop-3.2.1/hive-3.1.2/bin/schematool: No such file or directory


Hive home is set correctly

Echo is working fine

Cat is displaying like : No such file or directory


20230329125604-image.png


In this attached image I have all formats of schematool (like textfile, command and .sh)


Kindly suggest to resolve it. While running hive scripts metastore_db is also created. 

recommendMore from Kontext