hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r393259 - in /lucene/hadoop/trunk/bin: start-all.sh start-dfs.sh start-mapred.sh stop-all.sh stop-dfs.sh stop-mapred.sh
Date Tue, 11 Apr 2006 16:49:57 GMT
Author: cutting
Date: Tue Apr 11 09:49:54 2006
New Revision: 393259

URL: http://svn.apache.org/viewcvs?rev=393259&view=rev
Log:
Fix HADOOP-131.  Add scripts to start/stop dfs and mapred daemons.  Use these in start/stop-all
scripts.  Contributed by Chris Mattmann.

Added:
    lucene/hadoop/trunk/bin/start-dfs.sh   (with props)
    lucene/hadoop/trunk/bin/start-mapred.sh   (with props)
    lucene/hadoop/trunk/bin/stop-dfs.sh   (with props)
    lucene/hadoop/trunk/bin/stop-mapred.sh   (with props)
Modified:
    lucene/hadoop/trunk/bin/start-all.sh
    lucene/hadoop/trunk/bin/stop-all.sh

Modified: lucene/hadoop/trunk/bin/start-all.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/start-all.sh?rev=393259&r1=393258&r2=393259&view=diff
==============================================================================
--- lucene/hadoop/trunk/bin/start-all.sh (original)
+++ lucene/hadoop/trunk/bin/start-all.sh Tue Apr 11 09:49:54 2006
@@ -6,12 +6,7 @@
 bin=`cd "$bin"; pwd`
 
 # start dfs daemons
-# start namenode after datanodes, to minimize time namenode is up w/o data
-# note: datanodes will log connection errors until namenode starts
-"$bin"/hadoop-daemons.sh start datanode
-"$bin"/hadoop-daemon.sh start namenode
+"$bin"/start-dfs.sh
 
 # start mapred daemons
-# start jobtracker first to minimize connection errors at startup
-"$bin"/hadoop-daemon.sh start jobtracker
-"$bin"/hadoop-daemons.sh start tasktracker
+"$bin"/start-mapred.sh

Added: lucene/hadoop/trunk/bin/start-dfs.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/start-dfs.sh?rev=393259&view=auto
==============================================================================
--- lucene/hadoop/trunk/bin/start-dfs.sh (added)
+++ lucene/hadoop/trunk/bin/start-dfs.sh Tue Apr 11 09:49:54 2006
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Start hadoop dfs daemons.  Run this on master node.
+
+bin=`dirname "$0"`
+bin=`cd "$bin"; pwd`
+
+# start dfs daemons
+# start namenode after datanodes, to minimize time namenode is up w/o data
+# note: datanodes will log connection errors until namenode starts
+"$bin"/hadoop-daemon.sh start namenode
+"$bin"/hadoop-daemons.sh start datanode

Propchange: lucene/hadoop/trunk/bin/start-dfs.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: lucene/hadoop/trunk/bin/start-mapred.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/start-mapred.sh?rev=393259&view=auto
==============================================================================
--- lucene/hadoop/trunk/bin/start-mapred.sh (added)
+++ lucene/hadoop/trunk/bin/start-mapred.sh Tue Apr 11 09:49:54 2006
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Start hadoop map reduce daemons.  Run this on master node.
+
+bin=`dirname "$0"`
+bin=`cd "$bin"; pwd`
+
+# start mapred daemons
+# start jobtracker first to minimize connection errors at startup
+"$bin"/hadoop-daemon.sh start jobtracker
+"$bin"/hadoop-daemons.sh start tasktracker

Propchange: lucene/hadoop/trunk/bin/start-mapred.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: lucene/hadoop/trunk/bin/stop-all.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/stop-all.sh?rev=393259&r1=393258&r2=393259&view=diff
==============================================================================
--- lucene/hadoop/trunk/bin/stop-all.sh (original)
+++ lucene/hadoop/trunk/bin/stop-all.sh Tue Apr 11 09:49:54 2006
@@ -5,7 +5,5 @@
 bin=`dirname "$0"`
 bin=`cd "$bin"; pwd`
 
-"$bin"/hadoop-daemon.sh stop jobtracker
-"$bin"/hadoop-daemons.sh stop tasktracker
-"$bin"/hadoop-daemon.sh stop namenode
-"$bin"/hadoop-daemons.sh stop datanode
+"$bin"/stop-mapred.sh
+"$bin"/stop-dfs.sh

Added: lucene/hadoop/trunk/bin/stop-dfs.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/stop-dfs.sh?rev=393259&view=auto
==============================================================================
--- lucene/hadoop/trunk/bin/stop-dfs.sh (added)
+++ lucene/hadoop/trunk/bin/stop-dfs.sh Tue Apr 11 09:49:54 2006
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Stop hadoop DFS daemons.  Run this on master node.
+
+bin=`dirname "$0"`
+bin=`cd "$bin"; pwd`
+
+"$bin"/hadoop-daemon.sh stop namenode
+"$bin"/hadoop-daemons.sh stop datanode
+

Propchange: lucene/hadoop/trunk/bin/stop-dfs.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: lucene/hadoop/trunk/bin/stop-mapred.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/stop-mapred.sh?rev=393259&view=auto
==============================================================================
--- lucene/hadoop/trunk/bin/stop-mapred.sh (added)
+++ lucene/hadoop/trunk/bin/stop-mapred.sh Tue Apr 11 09:49:54 2006
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Stop hadoop map reduce daemons.  Run this on master node.
+
+bin=`dirname "$0"`
+bin=`cd "$bin"; pwd`
+
+"$bin"/hadoop-daemon.sh stop jobtracker
+"$bin"/hadoop-daemons.sh stop tasktracker
+

Propchange: lucene/hadoop/trunk/bin/stop-mapred.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message