Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. hdfs dfs -ls /tmp
  2. hdfs dfs -put etc/hadoop/ /tmp/input
  3. hdfs dfs -ls /tmp/input
  4.  
  5. # Map Reduce
  6. hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.2.jar grep /tmp/input /tmp/output 'dfs[a-z.]+'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement