摘要: import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; import org.apache.hadoop.conf.C... 阅读全文
posted @ 2015-06-29 15:54 孟想阳光 阅读(173) 评论(0) 推荐(0) 编辑
摘要: package MyKmeans; import java.io.IOException; import java.util.ArrayList; import org.apache.hadoop.conf.Configuration; import org.apache.h... 阅读全文
posted @ 2015-06-29 15:53 孟想阳光 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Assistance.java 辅助类 1 package KMeans; 2 3 import org.apache.hadoop.conf.Configuration; 4 import org.apache.hadoop.fs.FSDataInputStream; 5 imp... 阅读全文
posted @ 2015-06-29 15:46 孟想阳光 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 1 public static void main(String[] args) { 2 callMe1(new String[] { "a", "b", "c" ,"d"}); 3 callMe2("a", "b", "c" ,"d"); 4 ... 阅读全文
posted @ 2015-06-29 15:04 孟想阳光 阅读(671) 评论(0) 推荐(0) 编辑