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

make jsvc use detection more robust on SLES

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.2.0
    • Fix Version/s: None
    • Component/s: rpm
    • Labels:
      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
        }

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:

                Development