Review Board 1.7.22

ACCUMULO-1556: Clarify initialization error messages for pre-initialized filesystem

Review Request #15279 - Created Nov. 6, 2013 and submitted

Bill Havanki
The Initialize class now generates clearer error messages if an initialized instance is discovered. The messages vary depending on whether instance.dfs.uri is used.

Note that to facilitate unit testing, the verification logic in Initialize.doInit() was refactored into a checkInit() method.
Ran initialization with patch changes on 1.4.3 cluster under CDH 4.3. Tested successful initialization and correct emission of error messages when instance.dfs.uri was used and was not used. Also, implemented unit tests for altered code.
Review request changed
Updated (Dec. 2, 2013, 11:50 p.m.)
  • changed from pending to submitted