scala - java.util.ConcurrentModificationException in CountVectorizer -


i'm getting java.util.concurrentmodificationexception exception in following block of quote

val cvmodel: countvectorizermodel = new countvectorizer().     setinputcol("filtered").     setoutputcol("countvector").     setvocabsize(50000).     setmindf(20).     fit(cleanedtokenized) 

i using spark 2.0. how can resolve error?


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

c++ - Why am i getting wrong values when performing PE base relocation? -