HBASE-2560. Fix IllegalArgumentExceptions in master
Review Request #112 - Created June 1, 2010 and submitted
Patch fixes the issue and includes a unit test. Note that there is a TODO in the unit test - would appreciate comments on what the right behavior is there.