Installing Hive on Ubuntu
hadoop, hive, ubuntu
Solution
Does step #3 went without hitch? Upto step 3 you are downloading the binaries from SVN to your machine and step 4 is setting the binaries with your Hadoop Environment.
Step 4 suggests you the following:
export PATH=$PATH:/usr/src/hive/build/dist/bin/
-> Means you are adding directory /usr/src/hive/build/dist/bin/ in your PATH environment. You must have installed hive in this folder -> /usr/src/hive/build/dist/bin/ so adding this folder (actually Hive Binaries) in your path will let you run Hive in your machine.
export PATH=$PATH:/usr/src/hive/build/dist/lib/
-> Means you are adding directory /usr/src/hive/build/dist/lib/ in your PATH environment. When you have installed Hive on your machine, Hive related libraries are located in this folder > /usr/src/hive/build/dist/lib/ so adding this directory to your PATH, will help Hive to run successfully.
export PATH=$PATH:/usr/local/hadoop/bin
-> If you already have Hadoop running in your machine, this should already set otherwise this command is just setting Hadoop Binary folder in your machine path.
If you dont know what is PATH, just look for "PATH in Linux" at internet.
Problem
I want to install Hive on my Ubuntu.I read this Article,that help me so much.I did all of steps except step 4.I didn't understand exactly what should in this step do. could you please explain me this step in detail ?