?????????

????conf/core-site.xml

????<configuration>
????<property>
????<name>fs.default.name</name>
????<value>hdfs://localhost:9000</value>
????</property>
????</configuration>

????conf/hdfs-site.xml

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

????mapred-site.xml

????<configuration>
????<property>
????<name>mapred.job.tracker</name>
????<value>localhost:9001</value>
????</property>
????</configuration>

???????校?

????????????????????$bin/hadoopnamenode–format
???????hadoop?????$bin/start-all.sh
???????????????????????????url
????NameNode–http://localhost:50070/
????JobTracker–http://localhost:50030/
??????????????????logs???渭???????????
?????????????????????????????$bin/hadoopfs-putlocalinput
?????????????$bin/hadoopjarpath/xx.jarWordCountinputoutput
????????????$bin/hadoopfs-catoutput/*
??????hadoop?????$bin/stop-all.sh

??????????????胁???

?????????????????????????????????hadoop?????????????????婊�?????屑?????????????????????胁???????????ClusterSetup??

??????????????

???????????????????hadoop????????????????????????/?????????????????????????????????????????????????????hadoop??????->???????->?????????????????->???娴�?????????

?????????屑?????????????????????

???????????????????????????????????????

????????????????????????????????????些小?????????????????????????????????????小????????????????????????????????????????????????????????????????????????????????

????????????????????????????????????????????????????????????????????????????????卸??畏????????????????????些??????????????????????????????娲�????????????????校???????????????????????效?????些???????????????????????????????Scribe?????????????????????????????????胃?效?????蟹????????????????????????写?????MapReduce???????????????