You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/29 09:19:00 UTC

[jira] [Commented] (FLINK-2498) GroupReduceITCase failure

    [ https://issues.apache.org/jira/browse/FLINK-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144970#comment-16144970 ] 

ASF GitHub Bot commented on FLINK-2498:
---------------------------------------

Github user ggevay commented on the issue:

    https://github.com/apache/flink/pull/3511
  
    I pushed some commits here:
    [https://github.com/ggevay/flink/tree/sorter-codegen](https://github.com/ggevay/flink/tree/sorter-codegen)
    
    I fixed one issue by adding the `CLUSTER_WITH_CODEGENERATION_ENABLED` case to the switch in `DriverBaseITCase.getSystemOutput`.
    
    However, the randomly occurring `FileNotFoundException` is more tough to fix. I think this is happening because of some Travis bug around creating temporary files. Here are some Jiras that might be the same issue:
    [https://issues.apache.org/jira/browse/FLINK-2498](https://issues.apache.org/jira/browse/FLINK-2498)
    [https://issues.apache.org/jira/browse/FLINK-2719](https://issues.apache.org/jira/browse/FLINK-2719)
    The only fix that I can think of is to not compile the generated code from a file, but generate it into a string, and use that overload of `cook` that takes a string instead of a file. (But we might still want to also write the generated code to a file, to be able to look at the generated code for debugging purposes. We just won't use that file for compiling.)


> GroupReduceITCase failure
> -------------------------
>
>                 Key: FLINK-2498
>                 URL: https://issues.apache.org/jira/browse/FLINK-2498
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Sachin Goel
>            Assignee: Stephan Ewen
>             Fix For: 0.10.0
>
>
> I noticed a failure of {{testCorrectnessOfGroupReduceOnCustomTypeWithTypeExtractor}} test.
> Here's the build: https://travis-ci.org/apache/flink/jobs/74576231
> This is the stacktrace:
> {code}
> org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
> 	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1.applyOrElse(JobManager.scala:364)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
> 	at org.apache.flink.runtime.testingUtils.TestingJobManager$$anonfun$handleTestingMessage$1.applyOrElse(TestingJobManager.scala:225)
> 	at scala.PartialFunction$OrElse.apply(PartialFunction.scala:162)
> 	at org.apache.flink.runtime.LeaderSessionMessages$$anonfun$receive$1.applyOrElse(LeaderSessionMessages.scala:40)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
> 	at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
> 	at org.apache.flink.runtime.LogMessages$$anon$1.apply(LogMessages.scala:33)
> 	at org.apache.flink.runtime.LogMessages$$anon$1.apply(LogMessages.scala:28)
> 	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:118)
> 	at org.apache.flink.runtime.LogMessages$$anon$1.applyOrElse(LogMessages.scala:28)
> 	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
> 	at org.apache.flink.runtime.jobmanager.JobManager.aroundReceive(JobManager.scala:101)
> 	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
> 	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
> 	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
> 	at akka.dispatch.Mailbox.run(Mailbox.scala:221)
> 	at akka.dispatch.Mailbox.exec(Mailbox.scala:231)
> 	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> 	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253)
> 	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346)
> 	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> 	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> Caused by: java.io.FileNotFoundException: /tmp/junit5086413501724507831/junit1610283772376223329.tmp/2 (No such file or directory)
> 	at java.io.FileOutputStream.open(Native Method)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
> 	at org.apache.flink.core.fs.local.LocalDataOutputStream.<init>(LocalDataOutputStream.java:56)
> 	at org.apache.flink.core.fs.local.LocalFileSystem.create(LocalFileSystem.java:256)
> 	at org.apache.flink.core.fs.local.LocalFileSystem.create(LocalFileSystem.java:263)
> 	at org.apache.flink.api.common.io.FileOutputFormat.open(FileOutputFormat.java:246)
> 	at org.apache.flink.api.java.io.TextOutputFormat.open(TextOutputFormat.java:77)
> 	at org.apache.flink.runtime.operators.DataSinkTask.invoke(DataSinkTask.java:187)
> 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:581)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)