You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/02/12 17:12:48 UTC

[GitHub] [flink] 0xqq opened a new pull request #11075: Release 1.10 how to fix

0xqq opened a new pull request #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075
 
 
   2020-02-13 01:06:25,091 ERROR org.apache.flink.runtime.webmonitor.handlers.JarRunHandler    - Unhandled exception.
   org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: Unable to instantiate java compiler
   	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:335)
   	at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:205)
   	at org.apache.flink.client.program.OptimizerPlanEnvironment.getPipeline(OptimizerPlanEnvironment.java:79)
   	at org.apache.flink.client.program.PackagedProgramUtils.getPipelineFromProgram(PackagedProgramUtils.java:101)
   	at org.apache.flink.client.program.PackagedProgramUtils.createJobGraph(PackagedProgramUtils.java:56)
   	at org.apache.flink.runtime.webmonitor.handlers.utils.JarHandlerUtils$JarHandlerContext.toJobGraph(JarHandlerUtils.java:128)
   	at org.apache.flink.runtime.webmonitor.handlers.JarRunHandler.lambda$getJobGraphAsync$6(JarRunHandler.java:138)
   	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.IllegalStateException: Unable to instantiate java compiler
   	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:434)
   	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.load3(JaninoRelMetadataProvider.java:375)
   	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.lambda$static$0(JaninoRelMetadataProvider.java:109)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.CacheLoader$FunctionToCacheLoader.load(CacheLoader.java:149)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache.get(LocalCache.java:3953)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)
   	at org.apache.flink.calcite.shaded.com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)
   	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.create(JaninoRelMetadataProvider.java:475)
   	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.revise(JaninoRelMetadataProvider.java:488)
   	at org.apache.calcite.rel.metadata.RelMetadataQuery.revise(RelMetadataQuery.java:193)
   	at org.apache.calcite.rel.metadata.RelMetadataQuery.getPulledUpPredicates(RelMetadataQuery.java:797)
   	at org.apache.calcite.rel.rules.ReduceExpressionsRule$ProjectReduceExpressionsRule.onMatch(ReduceExpressionsRule.java:298)
   	at org.apache.calcite.plan.AbstractRelOptPlanner.fireRule(AbstractRelOptPlanner.java:319)
   	at org.apache.calcite.plan.hep.HepPlanner.applyRule(HepPlanner.java:560)
   	at org.apache.calcite.plan.hep.HepPlanner.applyRules(HepPlanner.java:419)
   	at org.apache.calcite.plan.hep.HepPlanner.executeInstruction(HepPlanner.java:256)
   	at org.apache.calcite.plan.hep.HepInstruction$RuleInstance.execute(HepInstruction.java:127)
   	at org.apache.calcite.plan.hep.HepPlanner.executeProgram(HepPlanner.java:215)
   	at org.apache.calcite.plan.hep.HepPlanner.findBestExp(HepPlanner.java:202)
   	at org.apache.flink.table.plan.Optimizer.runHepPlanner(Optimizer.scala:267)
   	at org.apache.flink.table.plan.Optimizer.runHepPlannerSequentially(Optimizer.scala:233)
   	at org.apache.flink.table.plan.Optimizer.optimizeNormalizeLogicalPlan(Optimizer.scala:176)
   	at org.apache.flink.table.plan.BatchOptimizer.optimize(BatchOptimizer.scala:55)
   	at org.apache.flink.table.api.internal.BatchTableEnvImpl.translate(BatchTableEnvImpl.scala:280)
   	at org.apache.flink.table.api.scala.internal.BatchTableEnvironmentImpl.toDataSet(BatchTableEnvironmentImpl.scala:69)
   	at org.apache.flink.table.api.scala.TableConversions.toDataSet(TableConversions.scala:53)
   	at com.etnao.sql.WordCountSQL$.main(WordCountSQL.scala:52)
   	at com.etnao.sql.WordCountSQL.main(WordCountSQL.scala)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:321)
   	... 10 more
   Caused by: java.lang.ClassCastException: org.codehaus.janino.CompilerFactory cannot be cast to org.codehaus.commons.compiler.ICompilerFactory
   	at org.codehaus.commons.compiler.CompilerFactoryFactory.getCompilerFactory(CompilerFactoryFactory.java:129)
   	at org.codehaus.commons.compiler.CompilerFactoryFactory.getDefaultCompilerFactory(CompilerFactoryFactory.java:79)
   	at org.apache.calcite.rel.metadata.JaninoRelMetadataProvider.compile(JaninoRelMetadataProvider.java:432)
   	... 46 more
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11075: Release 1.10 how to fix

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075#issuecomment-585334973
 
 
   <!--
   Meta data
   Hash:7ee7fefb93b111117961a275f4dfd3f89a988ba9 Status:PENDING URL:https://travis-ci.com/flink-ci/flink/builds/148624769 TriggerType:PUSH TriggerID:7ee7fefb93b111117961a275f4dfd3f89a988ba9
   Hash:7ee7fefb93b111117961a275f4dfd3f89a988ba9 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5113 TriggerType:PUSH TriggerID:7ee7fefb93b111117961a275f4dfd3f89a988ba9
   -->
   ## CI report:
   
   * 7ee7fefb93b111117961a275f4dfd3f89a988ba9 Travis: [PENDING](https://travis-ci.com/flink-ci/flink/builds/148624769) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5113) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #11075: Release 1.10 how to fix

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075#issuecomment-585314560
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 7ee7fefb93b111117961a275f4dfd3f89a988ba9 (Wed Feb 12 17:15:06 UTC 2020)
   
   **Warnings:**
    * **34 pom.xml files were touched**: Check for build and licensing issues.
    * **Invalid pull request title: No valid Jira ID provided**
   
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot edited a comment on issue #11075: Release 1.10 how to fix

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075#issuecomment-585334973
 
 
   <!--
   Meta data
   Hash:7ee7fefb93b111117961a275f4dfd3f89a988ba9 Status:CANCELED URL:https://travis-ci.com/flink-ci/flink/builds/148624769 TriggerType:PUSH TriggerID:7ee7fefb93b111117961a275f4dfd3f89a988ba9
   Hash:7ee7fefb93b111117961a275f4dfd3f89a988ba9 Status:PENDING URL:https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5113 TriggerType:PUSH TriggerID:7ee7fefb93b111117961a275f4dfd3f89a988ba9
   -->
   ## CI report:
   
   * 7ee7fefb93b111117961a275f4dfd3f89a988ba9 Travis: [CANCELED](https://travis-ci.com/flink-ci/flink/builds/148624769) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=5113) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] flinkbot commented on issue #11075: Release 1.10 how to fix

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075#issuecomment-585334973
 
 
   <!--
   Meta data
   Hash:7ee7fefb93b111117961a275f4dfd3f89a988ba9 Status:UNKNOWN URL:TBD TriggerType:PUSH TriggerID:7ee7fefb93b111117961a275f4dfd3f89a988ba9
   -->
   ## CI report:
   
   * 7ee7fefb93b111117961a275f4dfd3f89a988ba9 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zentol commented on issue #11075: Release 1.10 how to fix

Posted by GitBox <gi...@apache.org>.
zentol commented on issue #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075#issuecomment-585345647
 
 
   Please ask questions on the [mailing lists](https://flink.apache.org/community.html#mailing-lists).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [flink] zentol closed pull request #11075: Release 1.10 how to fix

Posted by GitBox <gi...@apache.org>.
zentol closed pull request #11075: Release 1.10 how to fix
URL: https://github.com/apache/flink/pull/11075
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services