[ https://issues.apache.org/jira/browse/FLINK-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029084#comment-14029084 ] ASF GitHub Bot commented on FLINK-922: -------------------------------------- GitHub user skunert opened a pull request: https://github.com/apache/incubator-flink/pull/10 Bugfix: CoGroup SolutionSetFirst This PR deals with the issue described here: https://issues.apache.org/jira/browse/FLINK-922 You can merge this pull request into a Git repository by running: $ git pull https://github.com/skunert/incubator-flink coGroup_solutionSetFirst_bugfix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-flink/pull/10.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #10 ---- commit 3ec549e29306dc45714d7adee294795119bf8a1d Author: Sebastian Kunert <[hidden email]> Date: 2014-06-12T12:06:24Z added own instantiate method to CoGroupDescriptorWithSolutionSetFirst; added Test ---- > 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 > 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 |