Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.14.0
    • Fix Version/s: None
    • Component/s: conf
    • Labels:
      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.

      1. datanode.bat
        1 kB
        Albert Strasheim
      2. datanode-wrapper.conf
        5 kB
        Albert Strasheim
      3. InstallServices.bat
        1 kB
        Albert Strasheim
      4. namenode.bat
        1 kB
        Albert Strasheim
      5. namenode-wrapper.conf
        5 kB
        Albert Strasheim
      6. secondarynamenode.bat
        1 kB
        Albert Strasheim
      7. secondarynamenode-wrapper.conf
        5 kB
        Albert Strasheim
      8. UninstallServices.bat
        1 kB
        Albert Strasheim

        Activity

        Hide
        Albert Strasheim added a comment -

        Script to install Java Service Wrappers as Windows Services.

        Show
        Albert Strasheim added a comment - Script to install Java Service Wrappers as Windows Services.
        Hide
        Albert Strasheim added a comment -

        Script to uninstall Java Service Wrappers Windows Services.

        Show
        Albert Strasheim added a comment - Script to uninstall Java Service Wrappers Windows Services.
        Hide
        Albert Strasheim added a comment -

        Adding the following line to the wrapper configurations allows df to be found if Cygwin is installed so that the DataNode service can work:

        1. Set PATH so that the df command can be found
          set.PATH=C:/cygwin/bin;%PATH%
        Show
        Albert Strasheim added a comment - Adding the following line to the wrapper configurations allows df to be found if Cygwin is installed so that the DataNode service can work: Set PATH so that the df command can be found set.PATH=C:/cygwin/bin;%PATH%
        Hide
        Eli Collins added a comment -

        Out of date

        Show
        Eli Collins added a comment - Out of date

          People

          • Assignee:
            Unassigned
            Reporter:
            Albert Strasheim
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development