You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2014/09/22 22:28:55 UTC
[07/23] git commit: Fix bug in storm spout/bolt initialization -
first write a file names as the pid number and then send the pid to parent
Fix bug in storm spout/bolt initialization - first write a file names as the pid number and then send the pid to parent
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/65745929
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/65745929
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/65745929
Branch: refs/heads/master
Commit: 6574592940ec99e5fffffc1adae802f1413a51aa
Parents: 7158921
Author: Anya Tchernishov <an...@forter.com>
Authored: Wed Jul 16 19:52:21 2014 +0300
Committer: Itai Frenkel <it...@ryzyco.com>
Committed: Tue Aug 5 14:47:37 2014 +0300
----------------------------------------------------------------------
examples/storm-starter/multilang/resources/storm.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/65745929/examples/storm-starter/multilang/resources/storm.js
----------------------------------------------------------------------
diff --git a/examples/storm-starter/multilang/resources/storm.js b/examples/storm-starter/multilang/resources/storm.js
index bfc8b90..0fa6825 100755
--- a/examples/storm-starter/multilang/resources/storm.js
+++ b/examples/storm-starter/multilang/resources/storm.js
@@ -22,8 +22,8 @@ Storm.prototype.sync = function() {
Storm.prototype.sendPid = function(heartbeatdir) {
var pid = process.pid;
- this.sendMsgToParent({"pid": pid})
fs.closeSync(fs.openSync(heartbeatdir + "/" + pid, "w"));
+ this.sendMsgToParent({"pid": pid})
}
Storm.prototype.log = function(msg) {