BufferedReader br = new BufferedReader(
new InputStreamReader(fs.open(txtIn)));
String line;
while ((line = br.readLine()) != null) {
String[] split = line.split("\t");
DenseDoubleVector vec = new DenseDoubleVector(split.length);
for (int j = 0; j < split.length; j++) {
vec.set(j, Double.parseDouble(split[j]));
}
VectorWritable vector = new VectorWritable(vec);
dataWriter.append(vector, value);
if (k > i) {
assert centerWriter != null;