incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1232598 - in /incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src: deb/hadoop/service-init.d.tpl rpm/hadoop/SOURCES/hadoop-init.tmpl rpm/hadoop/SOURCES/hadoop-init.tmpl.suse
Date Tue, 17 Jan 2012 21:54:36 GMT
Author: rvs
Date: Tue Jan 17 21:54:36 2012
New Revision: 1232598

URL: http://svn.apache.org/viewvc?rev=1232598&view=rev
Log:
BIGTOP-348. jsvc location needs to be updated in init.d datanode script

Modified:
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/service-init.d.tpl
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl
    incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl.suse

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/service-init.d.tpl
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/service-init.d.tpl?rev=1232598&r1=1232597&r2=1232598&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/service-init.d.tpl
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/deb/hadoop/service-init.d.tpl
Tue Jan 17 21:54:36 2012
@@ -157,7 +157,7 @@ start() {
       #    1. HADOOP_DATANODE_USER being set to root
       #    2. jsvc is installed but Hadoop is configures to run in an unsecure mode
       # Both will currently fail
-      if [ -f $HADOOP_HOME/libexec/jsvc.amd64 -o -f $HADOOP_HOME/libexec/jsvc.i386 ] &&
[ -n "$HADOOP_SECURE_DN_USER" ]; then
+      if [ -f $HADOOP_PREFIX/libexec/jsvc ] && [ -n "$HADOOP_SECURE_DN_USER" ]; then
          TARGET_USER=root
       fi
     fi

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl?rev=1232598&r1=1232597&r2=1232598&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl
Tue Jan 17 21:54:36 2012
@@ -60,7 +60,7 @@ start() {
     #    1. HADOOP_DATANODE_USER being set to root
     #    2. jsvc is installed but Hadoop is configures to run in an unsecure mode
     # Both will currently fail
-    if [ -f $HADOOP_HOME/libexec/jsvc.amd64 -o -f $HADOOP_HOME/libexec/jsvc.i386 ] &&
[ -n "$HADOOP_SECURE_DN_USER" ]; then
+    if [ -f $HADOOP_PREFIX/libexec/jsvc ] && [ -n "$HADOOP_SECURE_DN_USER" ]; then
       TARGET_USER=root
     fi
   fi

Modified: incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl.suse
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl.suse?rev=1232598&r1=1232597&r2=1232598&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl.suse
(original)
+++ incubator/bigtop/branches/hadoop-0.23/bigtop-packages/src/rpm/hadoop/SOURCES/hadoop-init.tmpl.suse
Tue Jan 17 21:54:36 2012
@@ -81,7 +81,7 @@ start() {
     #    1. HADOOP_DATANODE_USER being set to root
     #    2. jsvc is installed but Hadoop is configures to run in an unsecure mode
     # Both will currently fail
-    if [ -f $HADOOP_HOME/libexec/jsvc.amd64 -o -f $HADOOP_HOME/libexec/jsvc.i386 ] &&
[ -n "$HADOOP_SECURE_DN_USER" ]; then
+    if [ -f $HADOOP_PREFIX/libexec/jsvc ] && [ -n "$HADOOP_SECURE_DN_USER" ]; then
       TARGET_USER=root
     fi
   fi



Mime
View raw message