--Check running queue
hadoop
queue -showacls
--Run the wordcount program
hadoop jar
$HADOOP_HOME/hadoop-examples.jar wordcount Dmapred.job.queue.name=unfunded
/data/vespanews/20070128 temp/newsout
-- Copy the results from dfs to the gateway
directory.
hadoop fs -copyToLocal
'temp/newsout/*' newsout
--Checking results
head -10
part-r-00000
--Kill the job by using jobid
hadoop job
-kill job_201204200957_110493
No comments:
Post a Comment