Resolution: Won't Fix
Affects Version/s: 0.14.0
Fix Version/s: None
I'm attaching Java Service Wrapper configuration files for namenode, datanode and secondarynamenode to this issue. These should probably go in the conf/ directory.
I'm also attaching batch files to run these services in the console that can be used to check that the configuration works. These should probably go in the bin/ directory.
By setting wrapper.app.parameter.2=-format the first time namenode.bat is run, the user do the necessary format.
Apache ActiveMQ includes the Java Service Wrapper binaries in the tarball they ship, so doing this for Hadoop seems feasible.
More about Java Service Wrapper:
P. S. It seems the ordering of the classpath is very important.