Just option [string] is fine. Happy to accept a fix but I'll probably submit one tonight if no one else has.
--- sent from my phone On Apr 16, 2014 10:16 AM, "haosdent (JIRA)" <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/SPARK-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971671#comment-13971671] > > haosdent commented on SPARK-1496: > --------------------------------- > > Is it should return Option[Seq[String]]? Maybe I could help you fix this > issue. :-) > > > SparkContext.jarOfClass should return Option instead of a sequence > > ------------------------------------------------------------------ > > > > Key: SPARK-1496 > > URL: https://issues.apache.org/jira/browse/SPARK-1496 > > Project: Spark > > Issue Type: Improvement > > Components: Spark Core > > Reporter: Patrick Wendell > > Assignee: Patrick Wendell > > Fix For: 1.0.0 > > > > > > This is pretty confusing, especially since addJar expects to take a > single jar. > > > > -- > This message was sent by Atlassian JIRA > (v6.2#6252) >