0
votes

I have Hadoop configured on my Redhat system and running fine. But I would like to know the detailed steps to install HIVE.

I had referred the following tutoral https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-InstallationandConfiguration but couldn't find it useful.

Need some help regarding the installation of HIVE on top of Hadoop in Redhat linux

3
What exactly is the issue you are facing?I find this page really useful and to the point.Tariq
Getting the following error when $HIVE_HOME/bin/hive is executed : Exception in thread "main" java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1704) at java.io.File.createTempFile(File.java:1792) at org.apache.hadoop.util.RunJar.main(RunJar.java:115)Blue Diamond

3 Answers

0
votes

The error shows that you don't have proper permissions. Do you have permissions to write to the directory which you have specified as the value of hadoop.tmp.dir?Or dfs.data.dir if you have added it in your hdfs-site.xml?

Are you able to write to HDFS directly(without Hive)??

0
votes

Make sure you give proper permissions! Use chmod if necessary, run as root user/sudo commands.

0
votes

You have check you are whether o n User like Charnjeet or hduser.Some command are not proper work on hduser..so use defult user like Charnjeet and sudo command...