Bug #49160 ndb_error_reporter seems to be broken in 7.0
| Submitted: | 27 Nov 2009 10:46 | Modified: | 7 Dec 2009 12:43 |
|---|---|---|---|
| Reporter: | Oli Sennhauser | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
| Version: | mysql-5.1-telco-7.0 | OS: | Any |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
| Tags: | ndb_error_reporter | ||
[27 Nov 2009 10:46]
Oli Sennhauser
[27 Nov 2009 10:46]
Oli Sennhauser
config.ini causing troubles
Attachment: config.ini (application/octet-stream, text), 798 bytes.
[30 Nov 2009 7:14]
Bernd Ocklin
ndb_config creates warnings about arbitrator sitting on ndbd machine. Warnings are not handled by ndb_error_reporter. yes, ndb_error_reporter should still work even with broken config.ini
[30 Nov 2009 7:30]
Bernd Ocklin
Quick fix to error reporter:
=== modified file 'storage/ndb/tools/ndb_error_reporter'
--- storage/ndb/tools/ndb_error_reporter 2009-02-12 08:29:00 +0000
+++ storage/ndb/tools/ndb_error_reporter 2009-11-30 07:29:57 +0000
@@ -30,13 +30,14 @@
exit(1);
}
-my @nodes= split ' ',`ndb_config --config-file=$ARGV[0] --nodes --query=id --type=ndbd`;
+my @nodes= split ' ',`ndb_config --config-file=$ARGV[0] --nodes --query=id --type=ndbd | tail -1`;
-push @nodes, split ' ',`ndb_config --config-file=$ARGV[0] --nodes --query=id --type=ndb_mgmd`;
+push @nodes, split ' ',`ndb_config --config-file=$ARGV[0] --nodes --query=id --type=ndb_mgmd | tail -1`;
[30 Nov 2009 13:39]
Hartmut Holzgraefe
The real problem is that up to 6.3.x the warnings are written to stderr (as expected) but starting with 7.0.x are written to stdout instead, see: http://bugs.mysql.com/44689 Fix 44689 and you get this one fixed for free ...
[7 Dec 2009 12:43]
Jonas Oreland
closed as duplicate of bug#44689 (as fix for that also fixes this)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.060 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.