@Override public void setup(Context context) throws IOException { Configuration conf = context.getConfiguration(); Path clusterOutputPath = new Path(conf.get("clusterOutputPath")); //we want to the key to be the index, the value to be the cluster id reverseClusterMappings = ClusterCountReader.getClusterIDs(clusterOutputPath, conf, false); }
@Override public void setup(Context context) throws IOException { Configuration conf = context.getConfiguration(); //this give the clusters-x-final directory where the cluster ids can be read Path clusterOutputPath = new Path(conf.get("clusterOutputPath")); //we want the key to be the cluster id, the value to be the index newClusterMappings = ClusterCountReader.getClusterIDs(clusterOutputPath, conf, true); outputVector = new VectorWritable(); }
@Override public void setup(Context context) throws IOException { Configuration conf = context.getConfiguration(); Path clusterOutputPath = new Path(conf.get("clusterOutputPath")); //we want to the key to be the index, the value to be the cluster id reverseClusterMappings = ClusterCountReader.getClusterIDs(clusterOutputPath, conf, false); }
@Override public void setup(Context context) throws IOException { Configuration conf = context.getConfiguration(); //this give the clusters-x-final directory where the cluster ids can be read Path clusterOutputPath = new Path(conf.get("clusterOutputPath")); //we want the key to be the cluster id, the value to be the index newClusterMappings = ClusterCountReader.getClusterIDs(clusterOutputPath, conf, true); outputVector = new VectorWritable(); }
@Override public void setup(Context context) throws IOException { Configuration conf = context.getConfiguration(); Path clusterOutputPath = new Path(conf.get("clusterOutputPath")); //we want to the key to be the index, the value to be the cluster id reverseClusterMappings = ClusterCountReader.getClusterIDs(clusterOutputPath, conf, false); }
@Override public void setup(Context context) throws IOException { Configuration conf = context.getConfiguration(); //this give the clusters-x-final directory where the cluster ids can be read Path clusterOutputPath = new Path(conf.get("clusterOutputPath")); //we want the key to be the cluster id, the value to be the index newClusterMappings = ClusterCountReader.getClusterIDs(clusterOutputPath, conf, true); outputVector = new VectorWritable(); }