Author: rkanter
Date: Thu Feb 21 22:37:30 2013
New Revision: 1448838

URL: http://svn.apache.org/r1448838
Log:
OOZIE-669 Deprecate oozie-start.sh, oozie-stop.sh & oozie-run.sh scripts 
(rkanter via tucu)

Modified:
    oozie/branches/branch-3.3/distro/src/main/bin/oozie-run.sh
    oozie/branches/branch-3.3/distro/src/main/bin/oozie-start.sh
    oozie/branches/branch-3.3/distro/src/main/bin/oozie-stop.sh
    oozie/branches/branch-3.3/docs/src/site/twiki/DG_QuickStart.twiki
    oozie/branches/branch-3.3/release-log.txt

Modified: oozie/branches/branch-3.3/distro/src/main/bin/oozie-run.sh
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/distro/src/main/bin/oozie-run.sh?rev=1448838&r1=1448837&r2=1448838&view=diff
==============================================================================
--- oozie/branches/branch-3.3/distro/src/main/bin/oozie-run.sh (original)
+++ oozie/branches/branch-3.3/distro/src/main/bin/oozie-run.sh Thu Feb 21 
22:37:30 2013
@@ -33,4 +33,5 @@ done
 BASEDIR=`dirname ${PRG}`
 BASEDIR=`cd ${BASEDIR}/..;pwd`
 
+echo "WARN: Use of this script is deprecated; use 'oozied.sh run' instead"
 exec ${BASEDIR}/bin/oozied.sh run 

Modified: oozie/branches/branch-3.3/distro/src/main/bin/oozie-start.sh
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/distro/src/main/bin/oozie-start.sh?rev=1448838&r1=1448837&r2=1448838&view=diff
==============================================================================
--- oozie/branches/branch-3.3/distro/src/main/bin/oozie-start.sh (original)
+++ oozie/branches/branch-3.3/distro/src/main/bin/oozie-start.sh Thu Feb 21 
22:37:30 2013
@@ -33,4 +33,5 @@ done
 BASEDIR=`dirname ${PRG}`
 BASEDIR=`cd ${BASEDIR}/..;pwd`
 
+echo "WARN: Use of this script is deprecated; use 'oozied.sh start' instead"
 exec ${BASEDIR}/bin/oozied.sh start

Modified: oozie/branches/branch-3.3/distro/src/main/bin/oozie-stop.sh
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/distro/src/main/bin/oozie-stop.sh?rev=1448838&r1=1448837&r2=1448838&view=diff
==============================================================================
--- oozie/branches/branch-3.3/distro/src/main/bin/oozie-stop.sh (original)
+++ oozie/branches/branch-3.3/distro/src/main/bin/oozie-stop.sh Thu Feb 21 
22:37:30 2013
@@ -32,4 +32,5 @@ done
 BASEDIR=`dirname ${PRG}`
 BASEDIR=`cd ${BASEDIR}/..;pwd`
 
+echo "WARN: Use of this script is deprecated; use 'oozied.sh stop' instead"
 exec ${BASEDIR}/bin/oozied.sh stop

Modified: oozie/branches/branch-3.3/docs/src/site/twiki/DG_QuickStart.twiki
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/docs/src/site/twiki/DG_QuickStart.twiki?rev=1448838&r1=1448837&r2=1448838&view=diff
==============================================================================
--- oozie/branches/branch-3.3/docs/src/site/twiki/DG_QuickStart.twiki (original)
+++ oozie/branches/branch-3.3/docs/src/site/twiki/DG_QuickStart.twiki Thu Feb 
21 22:37:30 2013
@@ -59,10 +59,15 @@ the Oozie distribution supports.
 
 The ExtJS library is optional (only required for the Oozie web-console to work)
 
-*IMPORTANT:* all Oozie server scripts (=oozie-setup.sh=, =oozie-start.sh=, 
=oozie-run.sh=
+*IMPORTANT:* all Oozie server scripts (=oozie-setup.sh=, =oozied.sh=, 
=oozie-start.sh=, =oozie-run.sh=
 and =oozie-stop.sh=) run only under the Unix user that owns the Oozie 
installation directory,
 if necessary use =sudo -u OOZIE_USER= when invoking the scripts.
 
+As of Oozie 3.3.2, use of =oozie-start.sh=, =oozie-run.sh=, and 
=oozie-stop.sh= has
+been deprecated and will print a warning. The =oozied.sh= script should be used
+instead; passing it =start=, =run=, or =stop= as an argument will perform the
+behaviors of =oozie-start.sh=, =oozie-run.sh=, and =oozie-stop.sh= 
respectively.
+
 Create a *libext/* directory in the directory where Oozie was expanded.
 
 If using a version of Hadoop bundled in Oozie *hadooplibs/*, copy the 
corresponding Hadoop JARs
@@ -102,13 +107,13 @@ $
 Start Oozie as a daemon process run:
 
 <verbatim>
-$ bin/oozie-start.sh
+$ bin/oozied.sh start
 </verbatim>
 
 To start Oozie as a foreground process run:
 
 <verbatim>
-$ bin/oozie-run.sh
+$ bin/oozied.sh run
 </verbatim>
 
 Check the Oozie log file =logs/oozie.log= to ensure Oozie started properly.

Modified: oozie/branches/branch-3.3/release-log.txt
URL: 
http://svn.apache.org/viewvc/oozie/branches/branch-3.3/release-log.txt?rev=1448838&r1=1448837&r2=1448838&view=diff
==============================================================================
--- oozie/branches/branch-3.3/release-log.txt (original)
+++ oozie/branches/branch-3.3/release-log.txt Thu Feb 21 22:37:30 2013
@@ -3,7 +3,6 @@
 OOZIE-1096 Update wfgen README.txt to have the TLP mailing list (jun aoki via 
rkanter)
 OOZIE-1015 HadoopAccessorService jobtracker validation should not have 
hardcoded conf key (mona)
 OOZIE-1078 Help -> Documentation and Help -> Online Help should link to 
oozie.apache.org/ (jun via mohammad)
-OOZIE-669 Deprecate oozie-start.sh, oozie-stop.sh & oozie-run.sh scripts 
(rkanter via tucu)
 OOZIE-809 MySQL TEXT columns should be MEDIUMTEXT (rkanter via tucu)
 OOZIE-979 bump up trunk version to 3.4.0-SNAPSHOT (tucu)
 OOZIE-1007 Add license headers to all files don't have them  (egashira via 
tucu)
@@ -12,6 +11,7 @@ OOZIE-944 Implement Workflow Generator U
 
 -- Oozie 3.3.2 (unreleased)
 
+OOZIE-669 Deprecate oozie-start.sh, oozie-stop.sh & oozie-run.sh scripts 
(rkanter via tucu)
 OOZIE-1219 The timezone cookie should never expire (rkanter)
 OOZIE-1220 Make the login example cookie expire (rkanter)
 OOZIE-1227 In a coordinator, specifying the <app-path> without a namenode 
causes it to fail (rkanter)


Reply via email to