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

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -