Skip to content

Commit

Permalink
Removed sopremo cleansing and sdaa11 packages; they will later be add…
Browse files Browse the repository at this point in the history
…ed in a separate branch
  • Loading branch information
arvid committed Jun 22, 2012
1 parent 5744fc0 commit 0082ea9
Show file tree
Hide file tree
Showing 155 changed files with 8 additions and 16,477 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,10 +1200,10 @@ private static InternalJobStatus determineNewJobStatus(final ExecutionGraph eg,
}
break;
case CANCELED:
LOG.error("Received update of execute state in job status CANCELED");
LOG.error("Received update of execute state in job status CANCELED: " + eg.getJobID());
break;
case FINISHED:
LOG.error("Received update of execute state in job status FINISHED");
LOG.error("Received update of execute state in job status FINISHED: " + eg.getJobID());
break;
}

Expand Down
1 change: 1 addition & 0 deletions sopremo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,6 @@
<modules>
<module>sopremo-common</module>
<module>sopremo-base</module>
<module>sopremo-query</module>
</modules>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public IJsonNode evaluate(IJsonNode node, IJsonNode target, EvaluationContext co
private static final EvaluationExpression AUTO = new EvaluationExpression() {
private static final long serialVersionUID = -5506784974227617703L;

@Override
public IJsonNode set(IJsonNode node, IJsonNode value, EvaluationContext context) {
if (node.isObject()) {
((IObjectNode) node).put("id", value);
Expand All @@ -80,6 +81,7 @@ public IJsonNode set(IJsonNode node, IJsonNode value, EvaluationContext context)
return objectNode;
}

@Override
public IJsonNode evaluate(IJsonNode node, IJsonNode target, EvaluationContext context) {
return node;
}
Expand Down Expand Up @@ -149,7 +151,7 @@ public void open(Configuration parameters) {
protected void map(final IJsonNode value, final JsonCollector out) {
this.counter.setValue(this.counter.getLongValue() + 1);
final IJsonNode id = this.idGeneration.evaluate(this.params, this.getContext());
out.collect(this.enumerationExpression.set(value, id, getContext()));
out.collect(this.enumerationExpression.set(value, id, this.getContext()));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import eu.stratosphere.sopremo.expressions.ArrayAccess;
import eu.stratosphere.sopremo.expressions.BinaryBooleanExpression;
import eu.stratosphere.sopremo.expressions.BooleanExpression;
import eu.stratosphere.sopremo.expressions.ConstantExpression;
import eu.stratosphere.sopremo.expressions.EvaluationExpression;
import eu.stratosphere.sopremo.expressions.InputSelection;
import eu.stratosphere.sopremo.expressions.ObjectCreation;
Expand Down Expand Up @@ -65,7 +64,7 @@ public void setJoinCondition(BooleanExpression joinCondition) {
throw new IllegalArgumentException("No join condition given");

this.joinCondition = joinCondition;
binaryConditions = expressions;
this.binaryConditions = expressions;
}

public Join withResultProjection(EvaluationExpression resultProjection) {
Expand Down Expand Up @@ -170,7 +169,7 @@ public BooleanExpression getJoinCondition() {

private List<TwoSourceJoin> getInitialJoinOrder(SopremoModule module) {
final List<TwoSourceJoin> joins = new ArrayList<TwoSourceJoin>();
for (final BinaryBooleanExpression expression : binaryConditions)
for (final BinaryBooleanExpression expression : this.binaryConditions)
joins.add(this.getTwoSourceJoinForExpression(expression, module));

// TODO: add some kind of optimization?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import eu.stratosphere.sopremo.expressions.ArrayCreation;
import eu.stratosphere.sopremo.expressions.ConstantExpression;
import eu.stratosphere.sopremo.expressions.EvaluationExpression;
import eu.stratosphere.sopremo.expressions.InputSelection;

/**
* Some convenience method to implement complex operators.
Expand Down
14 changes: 0 additions & 14 deletions sopremo/sopremo-cleansing/build.properties

This file was deleted.

38 changes: 0 additions & 38 deletions sopremo/sopremo-cleansing/build.xml

This file was deleted.

Loading

0 comments on commit 0082ea9

Please sign in to comment.