Bug #5617 Blank line at end of Ndb.cfg file prevents DB node from starting
Submitted: 16 Sep 2004 20:12 Modified: 21 Sep 2004 7:51
Reporter: John David Duncan Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1.4 OS:Any (All)
Assigned to: Jonas Oreland CPU Architecture:Any

[16 Sep 2004 20:12] John David Duncan
If an Ndb.Cfg file ends with a blank line, ndbd will not start:

node4:/usr/local/ndb # /usr/local/mysql/libexec/ndbd 
Local configuration error
Line: 0, Reading Ndb.cfg: Unexpected entry: "

Then if you remove the blank line from the end of Ndb.cfg,
the node will start OK. 

How to repeat:
echo >> Ndb.cfg

Suggested fix:
Ignore blank lines
[16 Sep 2004 20:13] John David Duncan
not a showstopper
[20 Sep 2004 7:28] Jonas Oreland
I tested on latest bk and could not reproduce this.
Can you restest on latest and/or send your complete Ndb.cfg
[21 Sep 2004 7:30] Jonas Oreland
Found a way to reproduce...
[21 Sep 2004 7:51] Jonas Oreland
fixed and pushed