HADOOP 1.X Installation Steps On Ubuntu
HADOOP 1.X Installation Steps On Ubuntu
31.
32.
33.
34.
35.
36.
37.
$
$
$
$
$
$
a. $
$
a.
b.
c.
d.
e.
f.
g.
h.
i.
j.
k.
export JAVA_HOME=/usr
export PATH=$PATH:$HADOOP_HOME/bin
sudo mkdir p /app/hadoop/tmp this folder is created to act as a temporary storage folder
sudo chown R hduser:Hadoop /app/Hadoop/tmp provide full privilege to hduser on folder
cd /usr/local/Hadoop/conf/ change to the folder where Hadoop configuration is to be done
nano hadoop-env.sh open the file in editor and add the below line
export JAVA_HOME=/usr setting JAVA HOME
nano core-site.xml open in the editor and add following lines
<property>
<name>hadoop.tmp.dir</name>
<value>/app/hadoop/tmp</value>
<description>A base for other temporary directories.</description>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:54310</value>
<description>Default FS, NN Machine and the port#</description>
</property>
38.
a.
b.
c.
d.
e.
f.
g.
<property>
<name>dfs.replication</name>
<value>1</value>
<description>Default block replication.
The actual number of replications can be specified when the file is created.
The default is used if replication is not specified in create time.
</description>
h. </property>
39.
40.
41.
42.
43.
44.
45.
46.
$
$
$
$
$
$
####################################################################################################