

If Hadoop is not installed on your system, then proceed with the following steps: Downloading Hadoopĭownload and extract Hadoop 2.4.1 from Apache Software Foundation using the following commands. If Hadoop is already installed on your system, then you will get the following response:įrom source with checksum 79e53ce7994d1628b240f09af91e1af4 Let us verify the Hadoop installation using the following command: Hadoop must be installed on your system before installing Hive. Now verify the installation using the command java -version from the terminal as explained above. # alternatives -set jar/usr/local/java/bin/jar # alternatives -set javac/usr/local/java/bin/javac # alternatives -set java/usr/local/java/bin/java # alternatives -install /usr/bin/jar/jar/usr/local/java/bin/jar 2 # alternatives -install /usr/bin/javac/javac/usr/local/java/bin/javac 2 # alternatives -install /usr/bin/java/java/usr/local/java/bin/java 2 Use the following commands to configure java alternatives: Now apply all the changes into the current running system.

Open root, and type the following commands.įor setting up PATH and JAVA_HOME variables, add the following commands to ~/.bashrc file. To make java available to all the users, you have to move it to the location “/usr/local/”. Verify it and extract the jdk-7u71-linux-圆4.gz file using the following commands. Generally you will find the downloaded java file in the Downloads folder. Then jdk-7u71-linux-圆4.tar.gz will be downloaded onto your system. Installing Java Step I:ĭownload java (JDK - ) by visiting the following link. If java is not installed in your system, then follow the steps given below for installing java. Java HotSpot(TM) Client VM (build 25.0-b02, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_71-b13) If Java is already installed on your system, you get to see the following response: Let us verify java installation using the following command: Java must be installed on your system before installing Hive. The following simple steps are executed for Hive installation: Step 1: Verifying JAVA Installation
Hive minecraft server commands install#
Therefore, you need to install any Linux flavored OS. All Hadoop sub-projects such as Hive, Pig, and HBase support Linux operating system.
