adapter to mahout-1.0