You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2013/03/26 19:31:19 UTC
[jira] [Updated] (BIGTOP-135) make jsvc use detection more robust
on SLES
[ https://issues.apache.org/jira/browse/BIGTOP-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-135:
------------------------------------
Fix Version/s: (was: 0.6.0)
> make jsvc use detection more robust on SLES
> -------------------------------------------
>
> Key: BIGTOP-135
> URL: https://issues.apache.org/jira/browse/BIGTOP-135
> Project: Bigtop
> Issue Type: Bug
> Components: RPM
> Affects Versions: 0.2.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
>
> 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
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira