Can you run the following command in Cygwin to see if the script file is executable?
ls -alt $HIVE_HOME/bin
-rwxr-xr-x+ 1 fahao fahao 832 May 16 2018 metatool
-rwxr-xr-x+ 1 fahao fahao 884 May 16 2018 schematool
The output should look like the above one. 'x' means execution permission. You will need that permission before you can execute the scripts.
If no permission, please try the following command to add it:
chmod +x $HIVE_HOME/bin/schematool
person Ba*** access_time 7 months ago
Re: Apache Hive 3.0.0 Installation on Windows 10 Step by Step Guide
Yes, I did. When I go the path from cygwin, and do a ls, I see schematool there. Also when I print $HIVE_PATH and $HADOOP_PATH I get the correct location.