MySQL Cluster 7.0: careful with ndb_mgmd and --configdir

Using MySQL Cluster 7.0, if you start the management node it will write a binary, cached version of the configuration. The default location is (currently) a bit tricky, if you compile yourself, you’ll find it in: <BASEDIR>/mysql-cluster. Make sure to specify everytime the --configdir option when starting the ndb_mgmd. $ ndb_mgmd -f config.ini --configdir=/path/to/cachedir I’m using the same value as Datadir for the --configdir option. An elegant solution it is not, IMHO.

The LOST_EVENTS incident: When is it reported?

This is a follow-up on my previous blog entry explaining when the LOST_EVENTS incident occurs. The LOST_EVENTS incident is reported in the MySQL binary log in two cases. Each time the Slave will try to tell you why. Here is an example output of the SHOW SLAVE STATUS done on the Slave MySQL Cluster (bit edited to fit): mysql> SHOW SLAVE STATUS\G Last_Errno: 1590 Last_Error: The incident LOST_EVENTS occured on the master.

The LOST_EVENTS incident

.. it could have been the title for the next James Bond movie, but no.. It’s much more exciting! The LOST_EVENTS incident is reported each time you are starting a MySQL server which is binary logging and is participating as an SQL Node in MySQL Cluster setup. Slaves reading from these binary logs will stop their I/O Thread (the one getting information from the master) and report this incident as an error (see below for example).

You have to use UTC time in emails!

What does the following mean? WHEN: 1:00 pm Pacific Time To most folks in the US it would mean: after lunch in the west. To most in rest of the world: “Bah! They forgot there is a world outside their own, again!”. If you specify a time in your own time zone, also specify the corresponding UTC (aka GMT) time so people can easily calculate at what time the meeting is in theirs.

Java 6 (v1.6) Developer Documentation and Source for Mac OS X 10.5

EDIT: This is for those that haven’t (yet) upgraded to Mac OS X 10.6 (Snow Leopard) where Java SE 6 is now default and comes with sources and documentation by default. Mac OS X 10.5 comes with Java 5 and 6 (v1.5 and v1.6 respectively). By default, however, only the documentation and source for Java 5 is provided. If you want to develop for Java 6 you’ll need to download the Java for Mac OS X 10.