Bigtop
  1. Bigtop
  2. BIGTOP-135

make jsvc use detection more robust on SLES

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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()

      { # 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

          Roman Shaposhnik created issue -
          Peter Linnell made changes -
          Field Original Value New Value
          Link This issue relates to BIGTOP-223 [ BIGTOP-223 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12638812 ] patch-available, re-open possible [ 12665791 ]
          Roman Shaposhnik made changes -
          Fix Version/s 0.5.0 [ 12321865 ]
          Roman Shaposhnik made changes -
          Fix Version/s 0.6.0 [ 12323895 ]
          Fix Version/s 0.5.0 [ 12321865 ]
          Roman Shaposhnik made changes -
          Fix Version/s 0.6.0 [ 12323895 ]

            People

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

              Dates

              • Created:
                Updated:

                Development