카테고리 없음
Windows Drive mount Used to ntfs-3g

   1. yum-priorities package install for rpmforge add to yum
     [root@localhost ~]# yum install yum-priorities -y

   2. "priority=N" add to /etc/yum/pluginconf.d/priorities.conf

     [root@localhost ~]# vi /etc/yum/pluginconf.d/priorities.conf
     [main]
      enabled = 1
      check_obsoletes = 1
      priority=2

   3. Install rpmforge 

   [root@localhost ~]# rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

   4. update yum 

   [root@localhost ~]# yum check-update

   5. install "fuse", "fuse-ntfs-3g", "dkms", "dkms-fuse"

  [root@localhost ~]# yum install fuse fuse-ntfs-3g dkms dkms-fuse -y

   6. make directory "windows" for mount ntfs

   [root@localhost ~]# mkdir /windows

   7. mount ntfs filesystem to "/windows" , type is ntfs-3g

   [root@localhost ~]# mount -t ntfs-3g /dev/sda1 /windows
   [root@localhost ~]# ls -al /windows/

카테고리 없음

1. Download data set
http://people.csail.mit.edu/irennie/20Newsgroups/

Download to hadoop home

2. Go to HADOOP_HOME
$> cd /home/alloe/hadoop-0.18.0
$> tar xvfz 20news-18828.tar.gz
$> bin/hadoop dfs -put 20news-18828 20newsInput
$> bin/hadoop jar apache-mahout-core-0.1-dev.jar org.apache.mahout.classifier.cbayes.CBayesDriver 20newsInput/alt.atheism 20newsOutput

카테고리 없음


<property>
<name>hadoop.tmp.dir</name>
<value>/home/alloe/filesystem/tmp/dir/hadoop-${user.name}</value>
</property>

<property>
<name>dfs.name.dir</name>
<value>/home/alloe/filesystem/name</value>
</property>

<property>
<name>dfs.data.dir</name>
<value>/home/alloe/filesystem/data</value>
</property>

<property>
<name>mapred.system.dir</name>
<value>/home/alloe/filesystem/mapreduce/system</value>
</property>

<property>
<name>mapred.local.dir</name>
<value>/home/alloe/filesystem/mapreduce/local</value>
</property>

<property>
<name>fs.default.name</name>
<value>hdfs://alloe:54310</value>
</property>

<property>
<name>mapred.job.tracker</name>
<value>hdfs://alloe:54311</value>
</property>

<property>
<name>dfs.replication</name>
<value>1</value>
</property>


54310 and 54311 is port number.

1 ··· 29 30 31 32 33 34 35
블로그 이미지

개발자

우와신난다