flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bastian Köcher (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-922) coGroup ordering NullPointerException
Date Wed, 11 Jun 2014 23:03:02 GMT

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

Bastian Köcher edited comment on FLINK-922 at 6/11/14 11:01 PM:
----------------------------------------------------------------

This is our code, it's very hacky. 
You have to execute the class HAC_2. 
(I added an attachment with the code.)


was (Author: bastiank):
This is our code, it's very hacky. 
You have to execute the class HAC_2. 

> 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
>         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)

Mime
View raw message