[
https://issues.apache.org/jira/browse/SPARK-8697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117852#comment-15117852
]
Oksana Romankova commented on SPARK-8697:
-----------------------------------------
The issue happens when RegexTokenizer is used to extract matches,
setGaps(false). Doesn't happen if it's used to split the string. I also didn't
manage to reproduce this when created dataframe from a sequence. However, if
data is loaded from a file using sqlContext or sc.textFile I get the exception.
> MatchIterator not serializable exception in RegexTokenizer
> ----------------------------------------------------------
>
> Key: SPARK-8697
> URL: https://issues.apache.org/jira/browse/SPARK-8697
> Project: Spark
> Issue Type: Bug
> Components: ML
> Affects Versions: 1.4.0
> Reporter: Xiangrui Meng
> Priority: Minor
>
> I'm not sure whether this is a real bug or not. In REPL, I saw MatchIterator
> not serializable exception in RegexTokeinzer during some ad-hoc testing.
> However, I couldn't reproduce this issue. Maybe it is a REPL bug.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]