Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1525

Java Service Wrapper for Hadoop

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.14.0
    • None
    • conf
    • 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.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            fullung Albert Strasheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: