MAHOUT-980: Fix DistributedCache usage to allow EMR deployment

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1295352 13f79535-47bb-0310-9956-ffa450edef68
cleanups to make Jenkins a little happier

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1295424 13f79535-47bb-0310-9956-ffa450edef68
Doc typo fix

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1296164 13f79535-47bb-0310-9956-ffa450edef68
a few more cleanups to make Jenkins happier

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1296412 13f79535-47bb-0310-9956-ffa450edef68
Cleanups to address Jenkins violations

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1297298 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-982, Clustering vectors using ClusterClassificationDriver. Deleted ClusterMapper and its test cases.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1298406 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-982, Formatted few newly added lines.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1298408 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-933:
- refactored ClusteringPolicies into hierarchy under new AbstractClusteringPolicy
- added close() to ClusteringPolicy to allow policy-specific actions needed to compute convergence
- removed ClusteringPolicy from ClusterIterator constructor as ClusterClassifier already has one
- added convergence computations for kmeans and fuzzyk
- added final clustersOut renaming to add -final suffix
- updated Display examples and unit tests to reflect above
- all tests run

I think it is time to begin refactoring the buildClusters methods of the respective clustering drivers to use ClusterIterator as it seems to be producing equivalent results to the original implementations. This will involve removing a lot of existing driver, mapper and reducer code and many time-consuming unit tests. It will also have some impact on other components as the representation of clusters in the file system changes from Cluster to self-describing ClusterWritable.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1298625 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-982, Added method and CLI option to remove outliers.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1299207 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-822: Make Mahout compatible with Hadoop 0.23.1.


git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1299770 13f79535-47bb-0310-9956-ffa450edef68
Attempt to fix test failure in TestDistributedRowMatrix

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1300196 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-981, MAHOUT-983. Refactored K-Means Clustering and Dirichlet Clustering to use ClusterClassificationDriver. 
Using cluster.getModel().configure() in ClusterClassificationDriver in order to configure DirichletCluster for MahalanobisDistanceMeasure. 
Added/fixed test cases by:
Using separate directories in test cases for supplying initial clusters and to store buildClusters to prevent two cluster-*-final files in the same directory.
Writing IntWritable in test cases instead of LongWritable ( As the ClusterClassificationDriver clusters records with IntWritable keys). 


git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1301654 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-981, MAHOUT-983. Fixing test cases which fail intermittently. 
Build is passing on my machine ( even for the last commit ). 
Tried to identify all test cases, which can fail intermittently and fixed them.


git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1301761 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-981, Added outlier removal option in method and CLI for KMeansDriver.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1301886 13f79535-47bb-0310-9956-ffa450edef68
Mahout-981, Changed key to WritableComparable<?> to fix the reuters examples build. Now any type can be feeded as a key in the input sequence file.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1302100 13f79535-47bb-0310-9956-ffa450edef68
Mahout-981, Fixing test cases which are keeping clusters-*-final in the same directory for canopy and kmeans.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1303282 13f79535-47bb-0310-9956-ffa450edef68
Mahout-991 Converted K-Means, Canopy, FuzzyKMeans, Dirichlet and MeanShift to emit ClusterWritable.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1304490 13f79535-47bb-0310-9956-ffa450edef68
Formatted with line length 120

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1307801 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-984. Refactored clustering out of FuzzyKMeansDriver using ClusterClassificationDriver.
All junit tests pass.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1307859 13f79535-47bb-0310-9956-ffa450edef68
MAHOUT-988, MAHOUT-989. Using ClusterIterator and ClusteringPolicy to buildClusters. Removed Mapper, Reducer, Clusterer and their Junit Tests.

git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1308019 13f79535-47bb-0310-9956-ffa450edef68