Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 670689b

Browse files
author
Denes Bodo
committed
OOZIE-3725 Drop support for the webui
1 parent 4197223 commit 670689b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+25
-9105
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ distro/downloads
2929
SecurityAuth.audit
3030
build
3131
webapp/overlays
32+
# macos
33+
.DS_Store

distro/src/main/bin/addtowar.sh

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ function printUsage() {
114114
echo " -outputwar OUTPUT_OOZIE_WAR"
115115
echo " [-hadoop HADOOP_VERSION HADOOP_PATH]"
116116
echo " [-hadoopJarsSNAPSHOT] (if Hadoop jars version on system is SNAPSHOT)"
117-
echo " [-extjs EXTJS_PATH] (expanded or ZIP)"
118117
echo " [-jars JARS_PATH] (multiple JAR path separated by ':')"
119118
echo " [-secureWeb WEB_XML_PATH] (path to secure web.xml)"
120119
echo
@@ -129,12 +128,10 @@ if [ $# -eq 0 ]; then
129128
fi
130129

131130
addHadoop=""
132-
addExtjs=""
133131
addJars=""
134132
hadoopVersion=""
135133
hadoopHome=""
136134
hadoopJarsSuffix=""
137-
extjsHome=""
138135
jarsPath=""
139136
inputWar=""
140137
outputWar=""
@@ -166,17 +163,6 @@ do
166163
elif [ "$1" = "-hadoopJarsSNAPSHOT" ]; then
167164
shift
168165
hadoopJarsSuffix="SNAPSHOT"
169-
elif [ "$1" = "-extjs" ]; then
170-
shift
171-
if [ $# -eq 0 ]; then
172-
echo
173-
echo "Missing option value, ExtJS path"
174-
echo
175-
printUsage
176-
exit -1
177-
fi
178-
extjsHome=$1
179-
addExtjs=true
180166
elif [ "$1" = "-jars" ]; then
181167
shift
182168
if [ $# -eq 0 ]; then
@@ -223,7 +209,7 @@ do
223209
shift
224210
done
225211

226-
if [ "${addHadoop}${addExtjs}${addJars}" == "" ]; then
212+
if [ "${addHadoop}${addJars}" == "" ]; then
227213
echo
228214
echo "Nothing to do"
229215
echo
@@ -242,10 +228,6 @@ if [ "${addHadoop}" = "true" ]; then
242228
checkFileExists ${hadoopHome}
243229
getHadoopJars ${hadoopVersion}
244230
fi
245-
246-
if [ "${addExtjs}" = "true" ]; then
247-
checkFileExists ${extjsHome}
248-
fi
249231

250232
if [ "${addJars}" = "true" ]; then
251233
for jarPath in ${jarsPath//:/$'\n'}
@@ -291,28 +273,6 @@ if [ "${addHadoop}" = "true" ]; then
291273
done
292274
fi
293275

294-
if [ "${addExtjs}" = "true" ]; then
295-
if [ ! "${components}" = "" ];then
296-
components="${components}, "
297-
fi
298-
components="${components}ExtJS library"
299-
if [ -e ${tmpWarDir}/ext-2.2 ]; then
300-
echo
301-
echo "Specified Oozie WAR '${inputWar}' already contains ExtJS library files"
302-
echo
303-
cleanUp
304-
exit -1
305-
fi
306-
#If the extjs path given is a ZIP, expand it and use it from there
307-
if [ -f ${extjsHome} ]; then
308-
unzip ${extjsHome} -d ${tmpDir} > /dev/null
309-
extjsHome=${tmpDir}/ext-2.2
310-
fi
311-
#Inject the library in oozie war
312-
cp -r ${extjsHome} ${tmpWarDir}/ext-2.2
313-
checkExec "copying ExtJS files into staging"
314-
fi
315-
316276
if [ "${addJars}" = "true" ]; then
317277
if [ ! "${components}" = "" ];then
318278
components="${components}, "

distro/src/main/bin/oozie-setup.sh

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ function printUsage() {
4444
echo " created by export"
4545
echo " (without options prints this usage information)"
4646
echo
47-
echo " EXTJS can be downloaded from http://www.extjs.com/learn/Ext_Version_Archives"
48-
echo
4947
}
5048

5149
#Creating temporary directory
@@ -117,10 +115,8 @@ JETTY_LIB_DIR=${JETTY_WEBAPP_DIR}/WEB-INF/lib/
117115

118116
source ${BASEDIR}/bin/oozie-sys.sh -silent
119117

120-
addExtjs=""
121118
addHadoopJars=""
122119
additionalDir=""
123-
extjsHome=""
124120
jarsPath=""
125121
prepareWar=""
126122

@@ -181,15 +177,7 @@ log_ready_to_start() {
181177
echo
182178
}
183179

184-
check_extjs() {
185-
if [ "${addExtjs}" = "true" ]; then
186-
checkFileExists ${extjsHome}
187-
else
188-
echo "INFO: Oozie webconsole disabled, ExtJS library not specified"
189-
fi
190-
}
191-
192-
# Check if it is necessary to add extension JARs and ExtJS
180+
# Check if it is necessary to add extension JARs
193181
check_adding_extensions() {
194182
libext=${OOZIE_HOME}/libext
195183
if [ "${additionalDir}" != "" ]; then
@@ -204,10 +192,6 @@ check_adding_extensions() {
204192
addJars="true"
205193
done
206194
fi
207-
if [ -f "${libext}/ext-2.2.zip" ]; then
208-
extjsHome=${libext}/ext-2.2.zip
209-
addExtjs=true
210-
fi
211195
fi
212196
}
213197

@@ -219,16 +203,6 @@ cleanup_and_exit() {
219203

220204
prepare_jetty() {
221205
check_adding_extensions
222-
check_extjs
223-
224-
if [ "${addExtjs}" = "true" -a ! -e ${JETTY_WEBAPP_DIR}/ext-2.2 ]; then
225-
unzip ${extjsHome} -d ${JETTY_WEBAPP_DIR}
226-
checkExec "Extracting ExtJS to ${JETTY_WEBAPP_DIR}/"
227-
elif [ "${addExtjs}" = "true" -a -e ${JETTY_WEBAPP_DIR}/ext-2.2 ]; then
228-
# TODO
229-
echo "${JETTY_WEBAPP_DIR}/ext-2.2 already exists"
230-
cleanup_and_exit
231-
fi
232206

233207
if [ "${addJars}" = "true" ]; then
234208
for jarPath in ${jarsPath//:/$'\n'}

docs/src/site/markdown/AG_Install.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,12 @@ Usage : oozie-setup.sh <Command and OPTIONS>
8282
If a directory `libext/` is present in Oozie installation directory, the `oozie-setup.sh` script will
8383
include all JARs in Jetty's `webapp/WEB_INF/lib/` directory.
8484

85-
If the ExtJS ZIP file is present in the `libext/` directory, it will be added to the Jetty's `webapp/` directory as well.
86-
The ExtJS library file name be `ext-2.2.zip`.
87-
8885
### Setting Up Oozie with an Alternate Tomcat
8986

9087
Use the `addtowar.sh` script to prepare the Oozie server only if Oozie will run with a different
9188
servlet container than the embedded Jetty provided with the distribution.
9289

93-
The `addtowar.sh` script adds Hadoop JARs, JDBC JARs and the ExtJS library to the Oozie WAR file.
90+
The `addtowar.sh` script adds Hadoop JARs, JDBC JARs to the Oozie WAR file.
9491

9592
The `addtowar.sh` script options are:
9693

@@ -100,19 +97,18 @@ The `addtowar.sh` script options are:
10097
Options: -inputwar INPUT_OOZIE_WAR
10198
-outputwar OUTPUT_OOZIE_WAR
10299
[-hadoop HADOOP_VERSION HADOOP_PATH]
103-
[-extjs EXTJS_PATH]
104100
[-jars JARS_PATH] (multiple JAR path separated by ':')
105101
[-secureWeb WEB_XML_PATH] (path to secure web.xml)
106102
```
107103

108104
The original `oozie.war` file is in the Oozie server installation directory.
109105

110-
After the Hadoop JARs and the ExtJS library has been added to the `oozie.war` file Oozie is ready to run.
106+
After the Hadoop JARs has been added to the `oozie.war` file Oozie is ready to run.
111107

112108
Delete any previous deployment of the `oozie.war` from the servlet container (if using Tomcat, delete
113109
`oozie.war` and `oozie` directory from Tomcat's `webapps/` directory)
114110

115-
Deploy the prepared `oozie.war` file (the one that contains the Hadoop JARs and the ExtJS library) in the
111+
Deploy the prepared `oozie.war` file (the one that contains the Hadoop JARs) in the
116112
servlet container (if using Tomcat, copy the prepared `oozie.war` file to Tomcat's `webapps/` directory).
117113

118114
**IMPORTANT:** Only one Oozie instance can be deployed per Tomcat instance.
@@ -967,14 +963,6 @@ Also, these steps must be done on every machine where you intend to use the Oozi
967963
3. When using the Oozie Client, you will need to use `https://oozie.server.hostname:11443/oozie` instead of
968964
`http://oozie.server.hostname:11000/oozie` -- Java will not automatically redirect from the http address to the https address.
969965
970-
#### Connect to the Oozie Web UI using SSL (HTTPS)
971-
972-
1. Use `https://oozie.server.hostname:11443/oozie`
973-
though most browsers should automatically redirect you if you use `http://oozie.server.hostname:11000/oozie`
974-
975-
**IMPORTANT**: If using a Self-Signed Certificate, your browser will warn you that it can't verify the certificate or something
976-
similar. You will probably have to add your certificate as an exception.
977-
978966
#### Additional considerations for Oozie HA with SSL
979967
980968
You'll need to configure the load balancer to do SSL pass-through. This will allow the clients talking to Oozie to use the
@@ -1035,12 +1023,10 @@ The deprecated `InstrumentationService` can be enabled by adding `Instrumentatio
10351023
```
10361024
10371025
By default the `admin/instrumentation` REST endpoint is no longer be available and instead the `admin/metrics` endpoint can
1038-
be used (see the [Web Services API](WebServicesAPI.html#Oozie_Metrics) documentation for more details); the Oozie Web UI also replaces
1039-
the "Instrumentation" tab with a "Metrics" tab.
1026+
be used (see the [Web Services API](WebServicesAPI.html#Oozie_Metrics) documentation for more details).
10401027
10411028
If the deprecated `InstrumentationService` is used, the `admin/instrumentation` REST endpoint gets enabled, the `admin/metrics`
1042-
REST endpoint is no longer available (see the [Web Services API](WebServicesAPI.html#Oozie_Metrics) documentation for more details);
1043-
the Oozie Web UI also replaces the "Metrics" tab with the "Instrumentation" tab.
1029+
REST endpoint is no longer available (see the [Web Services API](WebServicesAPI.html#Oozie_Metrics) documentation for more details).
10441030
10451031
We can also publish the instrumentation metrics to the external server graphite or ganglia. For this the following
10461032
properties should be specified in oozie-site.xml :
@@ -1195,7 +1181,7 @@ Multiple Oozie Servers can be configured against the same database to provide Hi
11951181
11961182
8. Start the Oozie servers.
11971183
1198-
Note: If one of the Oozie servers becomes unavailable, querying Oozie for the logs from a job in the Web UI, REST API, or client may
1184+
Note: If one of the Oozie servers becomes unavailable, querying Oozie for the logs from a job via the REST API, or client may
11991185
be missing information until that server comes back up.
12001186
12011187
#### Security

docs/src/site/markdown/DG_Examples.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ mr-node map-reduce OK end job_200904281535_0254
7676
.----------------------------------------------------------------------------------------------------------------------------------------------------------------
7777
```
7878

79-
To check the workflow job status via the Oozie web console, with a browser go to `http://localhost:11000/oozie`.
80-
8179
To avoid having to provide the `-oozie` option with the Oozie URL with every `oozie` command, set `OOZIE_URL` env
8280
variable to the Oozie URL in the shell environment. For example:
8381

docs/src/site/markdown/DG_QuickStart.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ hcatalog libraries, however they are required for oozie to work. There are 2 opt
7373
* Java 1.8+
7474
* Hadoop
7575
* [Apache Hadoop](http://hadoop.apache.org) (tested with 1.2.1 & 2.6.0+)
76-
* ExtJS library (optional, to enable Oozie webconsole)
77-
* [ExtJS 2.2](http://archive.cloudera.com/gplextras/misc/ext-2.2.zip)
7876
7977
The Java 1.8+ `bin` directory should be in the command path.
8078
@@ -84,11 +82,6 @@ The Java 1.8+ `bin` directory should be in the command path.
8482
8583
* Build an Oozie binary distribution
8684
* Download a Hadoop binary distribution
87-
* Download ExtJS library (it must be version 2.2)
88-
89-
**NOTE:** The ExtJS library is not bundled with Oozie because it uses a different license.
90-
91-
**NOTE:** Oozie UI browser compatibility Chrome (all), Firefox (3.5), Internet Explorer (8.0), Opera (10.5).
9285
9386
**NOTE:** It is recommended to use a Oozie Unix user for the Oozie server.
9487
@@ -117,8 +110,6 @@ The following two properties are required in Hadoop core-site.xml:
117110
118111
Replace the capital letter sections with specific values and then restart Hadoop.
119112
120-
The ExtJS library is optional (only required for the Oozie web-console to work)
121-
122113
**IMPORTANT:** all Oozie server scripts (`oozie-setup.sh`, `oozied.sh`, `oozie-start.sh`, `oozie-run.sh`
123114
and `oozie-stop.sh`) run only under the Unix user that owns the Oozie installation directory,
124115
if necessary use `sudo -u OOZIE_USER` when invoking the scripts.
@@ -130,8 +121,8 @@ behaviors of `oozie-start.sh`, `oozie-run.sh`, and `oozie-stop.sh` respectively.
130121
131122
Create a **libext/** directory in the directory where Oozie was expanded.
132123
133-
If using the ExtJS library copy the ZIP file to the **libext/** directory. If hadoop and hcatalog libraries are not
134-
already included in the war, add the corresponding libraries to **libext/** directory.
124+
If hadoop and hcatalog libraries are not already included in the war,
125+
add the corresponding libraries to **libext/** directory.
135126
136127
A "sharelib create -fs fs_default_name [-locallib sharelib]" command is available when running oozie-setup.sh
137128
for uploading new sharelib into hdfs where the first argument is the default fs name
@@ -205,7 +196,7 @@ Using the Oozie command line tool check the status of Oozie:
205196
$ bin/oozie admin -oozie http://localhost:11000/oozie -status
206197
```
207198
208-
Using a browser go to the [Oozie web console](http://localhost:11000/oozie.html), Oozie status should be **NORMAL**.
199+
The Oozie web console was removed in version 5.3.1.
209200
210201
Refer to the [Running the Examples](DG_Examples.html) document for details on running the examples.
211202

docs/src/site/markdown/DG_SLAMonitoring.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ In versions earlier than 4.x, this was a passive feature where users needed to q
1919
to fetch the records regarding job status changes, and use their own custom calculation engine to compute
2020
whether SLA was met or missed, based on initial definition of time limits.
2121

22-
Oozie now also has a SLA tab in the Oozie UI, where users can query for SLA information and have a summarized view
23-
of how their jobs fared against their SLAs.
24-
2522

2623
## Oozie Server Configuration
2724

@@ -118,7 +115,7 @@ is much more compact and meaningful, getting rid of redundant and unused tags.
118115
* `should-end`: Relative to `nominal-time` this is the amount of time (along with time-unit - MINUTES, HOURS, DAYS) within which your job should *finish* to meet SLA.
119116
* `max-duration`: This is the maximum amount of time (along with time-unit - MINUTES, HOURS, DAYS) your job is expected to run. This is optional.
120117
* `alert-events`: Specify the types of events for which **Email** alerts should be sent. Allowable values in this comma-separated list are start_miss, end_miss and duration_miss. *_met events can generally be deemed low priority and hence email alerting for these is not necessary. However, note that this setting is only for alerts via *email* alerts and not via JMS messages, where all events send out notifications, and user can filter them using desired selectors. This is optional and only applicable when alert-contact is configured.
121-
* `alert-contact`: Specify a comma separated list of email addresses where you wish your alerts to be sent. This is optional and need not be configured if you just want to view your job SLA history in the UI and do not want to receive email alerts.
118+
* `alert-contact`: Specify a comma separated list of email addresses where you wish your alerts to be sent. This is optional and need not be configured if you do not want to receive email alerts.
122119

123120
NOTE: All tags can be parameterized as a EL function or a fixed value.
124121

@@ -167,7 +164,6 @@ can be applied to and embedded under Workflow-Action as well as Coordinator-Acti
167164

168165
SLA information is accessible via the following ways:
169166

170-
* Through the SLA tab of the Oozie Web UI.
171167
* JMS messages sent to a configured JMS provider for instantaneous tracking.
172168
* RESTful API to query for SLA summary.
173169
* As an `Instrumentation.Counter` entry that is accessible via RESTful API and reflects to the number of all SLA tracked external

docs/src/site/markdown/DG_ShellActionExtension.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}:
243243

244244
Shell action's stdout and stderr output are redirected to the Oozie Launcher map-reduce job task STDOUT that runs the shell command.
245245

246-
From Oozie web-console, from the Shell action pop up using the 'Console URL' link, it is possible
247-
to navigate to the Oozie Launcher map-reduce job task logs via the Hadoop job-tracker web-console.
248-
249246
### Shell Action Limitations
250247
Although Shell action can execute any shell command, there are some limitations.
251248

docs/src/site/markdown/DG_SparkActionExtension.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ expressions.
177177

178178
Spark action logs are redirected to the Oozie Launcher map-reduce job task STDOUT/STDERR that runs Spark.
179179

180-
From Oozie web-console, from the Spark action pop up using the 'Console URL' link, it is possible
181-
to navigate to the Oozie Launcher map-reduce job task logs via the Hadoop job-tracker web-console.
182-
183180
### Spark on YARN
184181

185182
To ensure that your Spark job shows up in the Spark History Server, make sure to specify these three Spark configuration properties

docs/src/site/markdown/DG_SqoopActionExtension.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,6 @@ of all map-reduce jobs run by the Sqoop import all command.
190190

191191
Sqoop action logs are redirected to the Oozie Launcher map-reduce job task STDOUT/STDERR that runs Sqoop.
192192

193-
From Oozie web-console, from the Sqoop action pop up using the 'Console URL' link, it is possible
194-
to navigate to the Oozie Launcher map-reduce job task logs via the Hadoop job-tracker web-console.
195-
196193
The logging level of the Sqoop action can set in the Sqoop action configuration using the
197194
property `oozie.sqoop.log.level`. The default value is `INFO`.
198195

0 commit comments

Comments
 (0)