[jira] [Created] (FLINK-922) coGroup ordering NullPointerException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-922) coGroup ordering NullPointerException

Shang Yuanchun (Jira)
Bastian Köcher created FLINK-922:
------------------------------------

             Summary: 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


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)