Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.14.0
-
None
-
None
Description
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:
http://wrapper.tanukisoftware.org/doc/english/introduction.html
P. S. It seems the ordering of the classpath is very important.