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 - How to display all orders for a single product showing the most recent first? Woocommerce -

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

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -