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

[SPARK-31101][BUILD] Upgrade Janino to 3.0.16 #27932

Closed

Conversation

HeartSaVioR
Copy link
Contributor

@HeartSaVioR HeartSaVioR commented Mar 17, 2020

What changes were proposed in this pull request?

This PR(SPARK-31101) proposes to upgrade Janino to 3.0.16 which is released recently.

Please see the commit log.

You can see the changelog from the link: http://janino-compiler.github.io/janino/changelog.html / though release note for Janino 3.0.16 is actually incorrect.

Why are the changes needed?

We got some report on failure on user's query which Janino throws error on compiling generated code. The issue is here: janino-compiler/janino#113 It contains the information of generated code, symptom (error), and analysis of the bug, so please refer the link for more details.
Janino 3.0.16 contains the PR janino-compiler/janino#114 which would enable Janino to succeed to compile user's query properly.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

@SparkQA
Copy link

SparkQA commented Mar 17, 2020

Test build #119906 has finished for PR 27932 at commit 1bf9e7d.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 17, 2020

Test build #119908 has finished for PR 27932 at commit 78f8021.

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

@HeartSaVioR
Copy link
Contributor Author

The failure is not from compilation from generated code, but no big deal on rerunning tests.

@HeartSaVioR
Copy link
Contributor Author

retest this, please

@SparkQA
Copy link

SparkQA commented Mar 17, 2020

Test build #119918 has finished for PR 27932 at commit 78f8021.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HeartSaVioR HeartSaVioR changed the title [WIP][SPARK-31101][SQL][BUILD] Upgrade Janino to 3.0.16 [WIP][SPARK-31101][SQL][BUILD][test-java11] Upgrade Janino to 3.0.16 Mar 17, 2020
@HeartSaVioR
Copy link
Contributor Author

retest this, please

@SparkQA
Copy link

SparkQA commented Mar 18, 2020

Test build #119956 has finished for PR 27932 at commit 78f8021.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HeartSaVioR HeartSaVioR changed the title [WIP][SPARK-31101][SQL][BUILD][test-java11] Upgrade Janino to 3.0.16 [WIP][SPARK-31101][SQL][BUILD][test-hadoop3.2][test-java11] Upgrade Janino to 3.0.16 Mar 18, 2020
@HeartSaVioR
Copy link
Contributor Author

retest this, please

@SparkQA
Copy link

SparkQA commented Mar 18, 2020

Test build #119974 has finished for PR 27932 at commit 78f8021.

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

@HeartSaVioR
Copy link
Contributor Author

retest this, please

@SparkQA
Copy link

SparkQA commented Mar 18, 2020

Test build #119984 has finished for PR 27932 at commit 78f8021.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 19, 2020

Test build #120016 has finished for PR 27932 at commit ff25ac5.

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

@HeartSaVioR
Copy link
Contributor Author

org.apache.spark.scheduler.BarrierTaskContextSuite.successively sync with allGather and barrier
 Error Details
org.apache.spark.SparkException: Job aborted due to stage failure: Could not recover from a failed barrier ResultStage. Most recent failure reason: Stage failed because barrier task ResultTask(0, 3) finished unsuccessfully. com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input  at [Source: (String)""; line: 1, column: 0]  at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)  at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1442)  at com.fasterxml.jackson.databind.ObjectReader._initForReading(ObjectReader.java:360)  at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1704)  at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1261)  at org.json4s.jackson.JsonMethods.parse(JsonMethods.scala:25)  at org.json4s.jackson.JsonMethods.parse$(JsonMethods.scala:19)  at org.json4s.jackson.JsonMethods$.parse(JsonMethods.scala:55)  at org.apache.spark.BarrierTaskContext.allGather(BarrierTaskContext.scala:222)  at org.apache.spark.scheduler.BarrierTaskContextSuite.$anonfun$new$12(BarrierTaskContextSuite.scala:118)  at org.apache.spark.rdd.RDDBarrier.$anonfun$mapPartitions$2(RDDBarrier.scala:51)  at org.apache.spark.rdd.RDDBarrier.$anonfun$mapPartitions$2$adapted(RDDBarrier.scala:51)  at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)  at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:349)  at org.apache.spark.rdd.RDD.iterator(RDD.scala:313)  at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)  at org.apache.spark.scheduler.Task.run(Task.scala:127)  at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:460)  at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1377)  at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:463)  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)  at java.base/java.lang.Thread.run(Thread.java:834) 

Doesn't seem to be related.

@HeartSaVioR
Copy link
Contributor Author

retest this, please

@SparkQA
Copy link

SparkQA commented Mar 19, 2020

Test build #120019 has finished for PR 27932 at commit ff25ac5.

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

@HeartSaVioR
Copy link
Contributor Author

org.apache.spark.ExecutorAllocationManagerSuite.add executors capped by num pending tasks 

Error Details

org.scalatest.exceptions.TestFailedException: 6 did not equal 5

org.apache.spark.scheduler.WorkerDecommissionSuite.verify a task with all workers decommissioned succeeds 

Error Details

java.util.concurrent.TimeoutException: Futures timed out after [2 seconds]

org.apache.spark.storage.BlockManagerReplicationSuite.block replication - mixed between 1x to 5x 

Error Details

org.scalatest.exceptions.TestFailedException: 3 did not equal 4 master did not have 4 locations for test_block-with-disk-memory-deserialized-4x-replicated

Another flaky ones.

@HeartSaVioR HeartSaVioR changed the title [WIP][SPARK-31101][SQL][BUILD][test-hadoop3.2][test-java11] Upgrade Janino to 3.0.16 [SPARK-31101][SQL][BUILD] Upgrade Janino to 3.0.16 Mar 19, 2020
@HeartSaVioR HeartSaVioR force-pushed the SPARK-31101-janino-3.0.16 branch from ff25ac5 to a9f1f5d Compare March 19, 2020 07:07
@SparkQA
Copy link

SparkQA commented Mar 19, 2020

Test build #120030 has finished for PR 27932 at commit a9f1f5d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-31101][SQL][BUILD] Upgrade Janino to 3.0.16 [SPARK-31101][BUILD] Upgrade Janino to 3.0.16 Mar 22, 2020
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Merged to master.
Thank you for your long investigating and patience, @HeartSaVioR .

I added the following into the PR description.

https://github.com/janino-compiler/janino/commits/3.0.16

@HeartSaVioR
Copy link
Contributor Author

Thanks for sorting it out. Could we port back to 3.0 & 2.4 as well, given the origin bug was from Spark 2.3? I'll submit PRs for these versions. Thanks again!

HeartSaVioR added a commit to HeartSaVioR/spark that referenced this pull request Mar 24, 2020
### What changes were proposed in this pull request?

This PR(SPARK-31101) proposes to upgrade Janino to 3.0.16 which is released recently.

* Merged pull request janino-compiler/janino#114 "Grow the code for relocatables, and do fixup, and relocate".

Please see the commit log.
- https://github.com/janino-compiler/janino/commits/3.0.16

You can see the changelog from the link: http://janino-compiler.github.io/janino/changelog.html / though release note for Janino 3.0.16 is actually incorrect.

### Why are the changes needed?

We got some report on failure on user's query which Janino throws error on compiling generated code. The issue is here: janino-compiler/janino#113 It contains the information of generated code, symptom (error), and analysis of the bug, so please refer the link for more details.
Janino 3.0.16 contains the PR janino-compiler/janino#114 which would enable Janino to succeed to compile user's query properly.

### Does this PR introduce any user-facing change?

No.

### How was this patch tested?

Existing UTs.

Closes apache#27932 from HeartSaVioR/SPARK-31101-janino-3.0.16.

Authored-by: Jungtaek Lim (HeartSaVioR) <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
HeartSaVioR added a commit to HeartSaVioR/spark that referenced this pull request Mar 24, 2020
This PR(SPARK-31101) proposes to upgrade Janino to 3.0.16 which is released recently.

* Merged pull request janino-compiler/janino#114 "Grow the code for relocatables, and do fixup, and relocate".

Please see the commit log.
- https://github.com/janino-compiler/janino/commits/3.0.16

You can see the changelog from the link: http://janino-compiler.github.io/janino/changelog.html / though release note for Janino 3.0.16 is actually incorrect.

We got some report on failure on user's query which Janino throws error on compiling generated code. The issue is here: janino-compiler/janino#113 It contains the information of generated code, symptom (error), and analysis of the bug, so please refer the link for more details.
Janino 3.0.16 contains the PR janino-compiler/janino#114 which would enable Janino to succeed to compile user's query properly.

No.

Existing UTs.

Closes apache#27932 from HeartSaVioR/SPARK-31101-janino-3.0.16.

Authored-by: Jungtaek Lim (HeartSaVioR) <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@HeartSaVioR
Copy link
Contributor Author

#27996 for Spark 3.0.0 / #27997 for Spark 2.4.x

@HeartSaVioR HeartSaVioR deleted the SPARK-31101-janino-3.0.16 branch March 24, 2020 05:54
sjincho pushed a commit to sjincho/spark that referenced this pull request Apr 15, 2020
### What changes were proposed in this pull request?

This PR(SPARK-31101) proposes to upgrade Janino to 3.0.16 which is released recently.

* Merged pull request janino-compiler/janino#114 "Grow the code for relocatables, and do fixup, and relocate".

Please see the commit log.
- https://github.com/janino-compiler/janino/commits/3.0.16

You can see the changelog from the link: http://janino-compiler.github.io/janino/changelog.html / though release note for Janino 3.0.16 is actually incorrect.

### Why are the changes needed?

We got some report on failure on user's query which Janino throws error on compiling generated code. The issue is here: janino-compiler/janino#113 It contains the information of generated code, symptom (error), and analysis of the bug, so please refer the link for more details.
Janino 3.0.16 contains the PR janino-compiler/janino#114 which would enable Janino to succeed to compile user's query properly.

### Does this PR introduce any user-facing change?

No.

### How was this patch tested?

Existing UTs.

Closes apache#27932 from HeartSaVioR/SPARK-31101-janino-3.0.16.

Authored-by: Jungtaek Lim (HeartSaVioR) <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants