map 就是对一个RDD的各个元素都施加处理,得到一个新的RDD 的过程 [training@localhost ~]$ cat names.txtYear,First Name,County,Sex,Count2012,DOMINIC,CAYUGA,M,62012,ADDISON,ONONDAGA,F,142012,ADDISON,ONONDAGA,F,142012,JULIA,ONONDAGA,F,15[training@localhost ~]$ hdfs dfs -put names.t…