Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version to 1.6.0-SNAPSHOT. #8350

Closed
wants to merge 8 commits into from
Closed

Update version to 1.6.0-SNAPSHOT. #8350

wants to merge 8 commits into from

Conversation

rxin
Copy link
Contributor

@rxin rxin commented Aug 21, 2015

No description provided.

@SparkQA
Copy link

SparkQA commented Aug 21, 2015

Test build #41352 has finished for PR 8350 at commit a7be5b6.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Aug 21, 2015

Test build #41356 has finished for PR 8350 at commit 4f3b8f6.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@@ -295,6 +295,18 @@
<enabled>false</enabled>
</snapshots>
</repository>
<!-- TODO: This can be deleted after Spark 1.5 is posted -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this looks fine; does this particular change belong only in the 1.5 branch though?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually not sure -- I followed Patrick's last pr of this kind.

What happened without this is that Mima would fail and complain about all classes we marked as exclude for 1.5. I actually don't know exactly how mima works. Adding this doesn't seem to help much either.

@shivaram
Copy link
Contributor

@rxin Now that 1.5 has been released, we should merge this ?

@SparkQA
Copy link

SparkQA commented Sep 10, 2015

Test build #1732 has finished for PR 8350 at commit 4f3b8f6.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Sep 10, 2015

Yes, I think this needs MIMA entries for 1.6 now too.

@SparkQA
Copy link

SparkQA commented Sep 12, 2015

Test build #42369 has finished for PR 8350 at commit b7887b3.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Sep 14, 2015

I started on figuring out what MiMa excludes have to be brought forward and got this far before being tripped up by more local SBT errors:

    case v if v.startsWith("1.6") =>
      Seq(
        MimaBuild.excludeSparkPackage("network"),
        MimaBuild.excludeSparkPackage("deploy"),
        // These are needed if checking against the sbt build, since they are part of
        // the maven-generated artifacts in 1.3.
        excludePackage("org.spark-project.jetty"),
        MimaBuild.excludeSparkPackage("unused"),
        // JavaRDDLike is not meant to be extended by user programs
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.api.java.JavaRDDLike.partitioner"),
        // Modification of private static method
        ProblemFilters.exclude[IncompatibleMethTypeProblem](
          "org.apache.spark.streaming.kafka.KafkaUtils.org$apache$spark$streaming$kafka$KafkaUtils$$leadersForRanges"),
        // Mima false positive (was a private[spark] class)
        ProblemFilters.exclude[MissingClassProblem](
          "org.apache.spark.util.collection.PairIterator"),
        // Removing a testing method from a private class
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.streaming.kafka.KafkaTestUtils.waitUntilLeaderOffset")
      ) ++ Seq(
        // SPARK-6797 Support YARN modes for SparkR
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.api.r.PairwiseRRDD.this"),
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.api.r.RRDD.createRWorker"),
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.api.r.RRDD.this"),
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.api.r.StringRRDD.this"),
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.api.r.BaseRRDD.this")
      ) ++ Seq(
        // SPARK-8701 Add input metadata in the batch page.
        ProblemFilters.exclude[MissingClassProblem](
          "org.apache.spark.streaming.scheduler.InputInfo$"),
        ProblemFilters.exclude[MissingClassProblem](
          "org.apache.spark.streaming.scheduler.InputInfo")
      ) ++ Seq(
        // SPARK-7292 Provide operator to truncate lineage cheaply
        ProblemFilters.exclude[AbstractClassProblem](
          "org.apache.spark.rdd.RDDCheckpointData"),
        ProblemFilters.exclude[AbstractClassProblem](
          "org.apache.spark.rdd.CheckpointRDD")
      ) ++ Seq(
        // SPARK-4751 Dynamic allocation for standalone mode
        ProblemFilters.exclude[MissingMethodProblem](
          "org.apache.spark.SparkContext.supportDynamicAllocation")
      )

Try adding this, running ./dev/mima and then seeing what else needs to be copied forward.

@pwendell
Copy link
Contributor

I think if you update previousVersion in MimaBuild.scala many of these should go away. I'm happy to look at the error output after doing that.

@SparkQA
Copy link

SparkQA commented Sep 14, 2015

Test build #42450 has finished for PR 8350 at commit ca9ff77.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@pwendell
Copy link
Contributor

I tested it locally, you'll need something like this:

       version match {
+        case v if v.startsWith("1.6") =>
+          Seq(
+            MimaBuild.excludeSparkPackage("deploy"),
+            // These are needed if checking against the sbt build, since they are part of
+            // the maven-generated artifacts in 1.3.
+            excludePackage("org.spark-project.jetty"),
+            MimaBuild.excludeSparkPackage("unused"),
+            ProblemFilters.exclude[MissingClassProblem](
+              "org.apache.spark.sql.execution.datasources.DefaultSource")
+          )
+

@SparkQA
Copy link

SparkQA commented Sep 14, 2015

Test build #42455 has finished for PR 8350 at commit ad4e6bd.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Sep 15, 2015

Test build #42460 has finished for PR 8350 at commit b99703a.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Sep 15, 2015

Test build #1754 has finished for PR 8350 at commit ce5b5bb.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class MinMaxScaler(JavaEstimator, HasInputCol, HasOutputCol):
    • class MinMaxScalerModel(JavaModel):
    • case class Stddev(child: Expression) extends StddevAgg(child)
    • case class StddevPop(child: Expression) extends StddevAgg(child)
    • case class StddevSamp(child: Expression) extends StddevAgg(child)
    • abstract class StddevAgg(child: Expression) extends AlgebraicAggregate
    • abstract class StddevAgg1(child: Expression) extends UnaryExpression with PartialAggregate1
    • case class Stddev(child: Expression) extends StddevAgg1(child)
    • case class StddevPop(child: Expression) extends StddevAgg1(child)
    • case class StddevSamp(child: Expression) extends StddevAgg1(child)
    • case class ComputePartialStd(child: Expression) extends UnaryExpression with AggregateExpression1
    • case class ComputePartialStdFunction (
    • case class MergePartialStd(
    • case class MergePartialStdFunction(
    • case class StddevFunction(
    • case class IntersectNode(conf: SQLConf, left: LocalNode, right: LocalNode)
    • case class SampleNode(
    • case class TakeOrderedAndProjectNode(

@pwendell
Copy link
Contributor

Hm - this is a test file that is in the source folder, so MIMA is
complaining about changes. The error message gives you a filter you can add
to the MIMA file to ignore it.

On Mon, Sep 14, 2015 at 10:29 PM, Apache Spark QA notifications@github.com
wrote:

Test build #1754 has finished
https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/1754/console
for PR 8350 at commit ce5b5bb
ce5b5bb
.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class MinMaxScaler(JavaEstimator, HasInputCol, HasOutputCol):
    • class MinMaxScalerModel(JavaModel):
    • case class Stddev(child: Expression) extends StddevAgg(child)
    • case class StddevPop(child: Expression) extends StddevAgg(child)
    • case class StddevSamp(child: Expression) extends StddevAgg(child)
    • abstract class StddevAgg(child: Expression) extends
      AlgebraicAggregate
    • abstract class StddevAgg1(child: Expression) extends
      UnaryExpression with PartialAggregate1
    • case class Stddev(child: Expression) extends StddevAgg1(child)
    • case class StddevPop(child: Expression) extends StddevAgg1(child)
    • case class StddevSamp(child: Expression) extends StddevAgg1(child)
    • case class ComputePartialStd(child: Expression) extends
      UnaryExpression with AggregateExpression1
    • case class ComputePartialStdFunction (
    • case class MergePartialStd(
    • case class MergePartialStdFunction(
    • case class StddevFunction(
    • case class IntersectNode(conf: SQLConf, left: LocalNode, right:
      LocalNode)
    • case class SampleNode(
    • case class TakeOrderedAndProjectNode(


Reply to this email directly or view it on GitHub
#8350 (comment).

@SparkQA
Copy link

SparkQA commented Sep 15, 2015

Test build #42469 has finished for PR 8350 at commit 2178d25.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor Author

rxin commented Sep 15, 2015

Alright I'm going to merge this.

@asfgit asfgit closed this in 09b7e7c Sep 15, 2015
@srowen
Copy link
Member

srowen commented Sep 15, 2015

I think that's reasonable since the only failure mode this patch should cause is MiMa failure and that passed now. Thanks @pwendell for reminding me about the previousVersion thing, had totally overlooked how that worked.

@pwendell
Copy link
Contributor

No problem - I should have caught it earlier. Hopefully people didn't spin
too many cycles on this.

On Tue, Sep 15, 2015 at 12:56 AM, Sean Owen notifications@github.com
wrote:

I think that's reasonable since the only failure mode this patch should
cause is MiMa failure and that passed now. Thanks @pwendell
https://github.com/pwendell for reminding me about the previousVersion
thing, had totally overlooked how that worked.


Reply to this email directly or view it on GitHub
#8350 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants