HADOOP: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
Line 1: Line 1:
== HADOOP ==
== HADOOP ==


=== Install data node ===
=== Create a data node ===


* install data node software
<pre>
<pre>
cd /triumfcs/trshare/olchansk/linux/hadoop/
cd /triumfcs/trshare/olchansk/linux/hadoop/
Line 11: Line 12:
yum install hadoop"*"datanode hadoop"*"fuse hadoop"*"native
yum install hadoop"*"datanode hadoop"*"fuse hadoop"*"native
chkconfig hadoop-0.20-datanode off
chkconfig hadoop-0.20-datanode off
</pre>
* configure data node
<pre>
ln -s /home/olchansk/sysadm/hadoop/conf.daq_test /etc/hadoop-0.20
ln -s /home/olchansk/sysadm/hadoop/conf.daq_test /etc/hadoop-0.20
</pre>
</pre>

Revision as of 09:08, 2 January 2012

HADOOP

Create a data node

  • install data node software
cd /triumfcs/trshare/olchansk/linux/hadoop/
rpm --import RPM-GPG-KEY-cloudera 
rpm -vh --install cdh3-repository-1.0-1.noarch.rpm-SL5 (or -SL6)
(cd $HOME; sh /triumfcs/trshare/olchansk/linux/hadoop/jdk-6u30-linux-x64-rpm.bin)
cd ~
yum install hadoop"*"datanode hadoop"*"fuse hadoop"*"native
chkconfig hadoop-0.20-datanode off
  • configure data node
ln -s /home/olchansk/sysadm/hadoop/conf.daq_test /etc/hadoop-0.20