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

        Albert Strasheim created issue -
        Albert Strasheim made changes -
        Field Original Value New Value
        Attachment datanode-wrapper.conf [ 12360438 ]
        Albert Strasheim made changes -
        Attachment namenode-wrapper.conf [ 12360439 ]
        Albert Strasheim made changes -
        Attachment secondarynamenode-wrapper.conf [ 12360440 ]
        Albert Strasheim made changes -
        Attachment datanode.bat [ 12360441 ]
        Albert Strasheim made changes -
        Attachment namenode.bat [ 12360442 ]
        Albert Strasheim made changes -
        Attachment secondarynamenode.bat [ 12360443 ]
        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.
        Albert Strasheim made changes -
        Attachment InstallServices.bat [ 12360444 ]
        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.
        Albert Strasheim made changes -
        Attachment UninstallServices.bat [ 12360445 ]
        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%
        Doug Cutting made changes -
        Fix Version/s 0.14.0 [ 12312474 ]
        Hide
        Eli Collins added a comment -

        Out of date

        Show
        Eli Collins added a comment - Out of date
        Eli Collins made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development