You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/06/08 10:42:01 UTC

[jira] [Updated] (SPARK-2070) Package private methods are not excluded correctly

     [ https://issues.apache.org/jira/browse/SPARK-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Wendell updated SPARK-2070:
-----------------------------------

    Description: 
{code}
[error]  * method getCallSite()java.lang.String in class org.apache.spark.SparkContext has now a different result type; was: java.lang.String, is now: org.apache.spark.util.CallSite
[error]    filter with: ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.SparkContext.getCallSite")
{code}

I think we can fix this by just reflecting on individual methods and doing something similar to the classes.


  was:
{code}
[error]  * method getCallSite()java.lang.String in class org.apache.spark.SparkContext has now a different result type; was: java.lang.String, is now: org.apache.spark.util.CallSite
[error]    filter with: ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.SparkContext.getCallSite")
[error]  * method creationSiteInfo()org.apache.spark.util.Utils#CallSiteInfo in class org.apache.spark.rdd.RDD does not have a correspondent in new version
[error]    filter with: ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.rdd.RDD.creationSiteInfo")
{code}

I think we can fix this by just reflecting on individual methods and doing something similar to the classes.



> Package private methods are not excluded correctly
> --------------------------------------------------
>
>                 Key: SPARK-2070
>                 URL: https://issues.apache.org/jira/browse/SPARK-2070
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build
>            Reporter: Patrick Wendell
>            Assignee: Prashant Sharma
>             Fix For: 1.1.0
>
>
> {code}
> [error]  * method getCallSite()java.lang.String in class org.apache.spark.SparkContext has now a different result type; was: java.lang.String, is now: org.apache.spark.util.CallSite
> [error]    filter with: ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.SparkContext.getCallSite")
> {code}
> I think we can fix this by just reflecting on individual methods and doing something similar to the classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)