Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-135

make jsvc use detection more robust on SLES

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.2.0
    • None
    • rpm
    • None

    Description

      Currently datanode only checks for Linux-amd64-64/jsvc we need to make this code more robust:

      hadoop-init.tmpl.suse:

      checkstatusofproc(){

      1. Under certain conditions datanode manifests as jsvc.exec
        if [ "@HADOOP_DAEMON@" = "datanode" -a -x @HADOOP_COMMON_ROOT@/sbin/Linux-amd64-64/jsvc ] ; then
        PROC_NAME="jsvc"
        else
        PROC_NAME="su"
        fi
        pidofproc -p $PIDFILE $PROC_NAME > /dev/null
        }

      Attachments

        Issue Links

          Activity

            People

              rvs Roman Shaposhnik
              rvs Roman Shaposhnik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: