[ https://issues.apache.org/jira/browse/FLINK-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029800#comment-14029800 ] Robert Metzger commented on FLINK-922: -------------------------------------- Thank you for the pull request. The fix is included in the 0.5.1 release. > coGroup ordering NullPointerException > ------------------------------------- > > Key: FLINK-922 > URL: https://issues.apache.org/jira/browse/FLINK-922 > Project: Flink > Issue Type: Bug > Affects Versions: pre-apache-0.5 > Reporter: Bastian Köcher > Assignee: Sebastian Kunert > Fix For: 0.6-incubating, pre-apache-0.5.1 > > Attachments: IMPRO-3.SS14.G03-test.zip > > > I'm running a delta iteration and want to execute an coGroup on the solutionset but I'm getting a NullPointerException. > Here is the stacktrace: > java.lang.NullPointerException > at eu.stratosphere.compiler.operators.CoGroupDescriptor.instantiate(CoGroupDescriptor.java:131) > at eu.stratosphere.compiler.dag.TwoInputNode.instantiate(TwoInputNode.java:555) > at eu.stratosphere.compiler.dag.TwoInputNode.addLocalCandidates(TwoInputNode.java:523) > at eu.stratosphere.compiler.dag.TwoInputNode.getAlternativePlans(TwoInputNode.java:453) > at eu.stratosphere.compiler.dag.SingleInputNode.getAlternativePlans(SingleInputNode.java:251) > at eu.stratosphere.compiler.dag.WorksetIterationNode.instantiate(WorksetIterationNode.java:308) > at eu.stratosphere.compiler.dag.TwoInputNode.addLocalCandidates(TwoInputNode.java:523) > at eu.stratosphere.compiler.dag.TwoInputNode.getAlternativePlans(TwoInputNode.java:453) > at eu.stratosphere.compiler.dag.DataSinkNode.getAlternativePlans(DataSinkNode.java:192) > at eu.stratosphere.compiler.PactCompiler.compile(PactCompiler.java:715) > at eu.stratosphere.compiler.PactCompiler.compile(PactCompiler.java:553) > at eu.stratosphere.client.LocalExecutor.executePlan(LocalExecutor.java:216) > at eu.stratosphere.api.java.LocalEnvironment.execute(LocalEnvironment.java:57) > at eu.stratosphere.api.java.ExecutionEnvironment.execute(ExecutionEnvironment.java:520) > And here is my code I use to call the coGroup: > DeltaIteration<Document, ClusterPair> iteration = documents.iterateDelta(similarities, 10000, 1); > > DataSet<ClusterPair> linkageSet = iteration.getWorkset().reduce(new MinRed()); > DataSet<Document> delta = iteration.getSolutionSet().coGroup(linkageSet).where(0).equalTo(1).with(new PointUpdater()); -- This message was sent by Atlassian JIRA (v6.2#6252) |
Free forum by Nabble | Edit this page |