提交 e841da52 编写于 作者: G gyfora 提交者: Stephan Ewen

[streaming] WordCount performance

上级 bdda5313
......@@ -59,8 +59,8 @@ public class WordCountCounter extends UserTaskInvokable {
@Override
public String getResult() {
pCounter.writeCSV("/home/strato/stratosphere-distrib/log/counter/Counter" + channelID + "-1.csv");
pTimer.writeCSV("/home/strato/stratosphere-distrib/log/timer/Counter" + channelID + "-1.csv");
pCounter.writeCSV("/home/strato/stratosphere-distrib/log/counter/Counter" + channelID);
pTimer.writeCSV("/home/strato/stratosphere-distrib/log/timer/Counter" + channelID);
return "";
}
}
......@@ -30,7 +30,7 @@ public class WordCountSink extends UserSinkInvokable {
@Override
public String getResult() {
perf.writeCSV("/home/strato/stratosphere-distrib/log/counter/Sink" + "-1.csv");
perf.writeCSV("/home/strato/stratosphere-distrib/log/counter/Sink");
return "";
}
......
......@@ -64,8 +64,8 @@ public class WordCountSourceSplitter extends UserSourceInvokable {
@Override
public String getResult() {
pCounter.writeCSV("/home/strato/stratosphere-distrib/log/counter/Source" + channelID + "-1.csv");
pTimer.writeCSV("/home/strato/stratosphere-distrib/log/timer/Source" + channelID + "-1.csv");
pCounter.writeCSV("/home/strato/stratosphere-distrib/log/counter/Source" + channelID);
pTimer.writeCSV("/home/strato/stratosphere-distrib/log/timer/Source" + channelID);
return "";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册