from http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000 set set和dict类似,也是一组key的集合,但不存储value.由于key不能重复,所以,在set中,没有重复的key. 要创建一个set,需要提供一个list作为输入集合: >>> s = set([1, 2, 3]) >>> s {1, 2, 3} 注意,传入的参数[1, 2, 3]是
Hadoop Streaming Hadoopstreaming is a utility that comes with the Hadoop distribution. The utilityallows you to create and run Map/Reduce jobs with any executable or script asthe mapper and/or the reducer. For example: $HADOOP_HOME/bin/hadoop jar $H