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 -

javascript - How can I reference jquery library using cgi methods in ruby? -

python how to make inner class to be type of outer class -