[SPARK-2199][mllib]

breeze HashIndex is used now instead of trove HashMap