?????????

????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???????????????