Installation and Configuration
Java Installation Java JDK 8 Download Java wget http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz Extract Java tar jdk-8u181-linux-x64.tar.gz Move to mv jdk-8u181-linux-x64 /usr/local/ Set Path(~/.bashrc) export JAVA_HOME=/usr/local/jdk1.7.0_71 export PATH= $PATH:$JAVA_HOME/bin Apply changes source ~/.bashrc Java Version java -version Adding a dedicated Hadoop system user We will use a dedicated Hadoop user account for running Hadoop. sudo addgroup hadoop_group sudo adduser --ingroup hadoop_group hduser sudo adduser hduser Configuring SSH The hadoop control scripts rely on SSH to peform cluster-wide operations. For example, there is a script for stopping and starting all the daemons in the clusters. To work seamlessly, SSH needs to be setup to allow password-less login for the had...
Comments
Post a Comment