summaryrefslogtreecommitdiff
path: root/ambari-server/src/main/resources/stacks/HDP/2.1/services/OOZIE/configuration/oozie-site.xml
blob: b4d29658df2075b901971419ae00d137984e2269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<?xml version="1.0"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
        
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<configuration supports_final="true">

  <!--
      Refer to the oozie-default.xml file for the complete list of
      Oozie configuration properties and their default values.
  -->
  <property>
    <name>oozie.base.url</name>
    <value>http://localhost:11000/oozie</value>
    <property-type>DONT_ADD_ON_UPGRADE</property-type>
    <description>Base Oozie URL.</description>
  </property>

  <property>
    <name>oozie.system.id</name>
    <value>oozie-${user.name}</value>
    <description>
      The Oozie system ID.
    </description>
  </property>

  <property>
    <name>oozie.systemmode</name>
    <value>NORMAL</value>
    <description>
      System mode for Oozie at startup.
    </description>
  </property>

  <property>
    <name>oozie.service.AuthorizationService.security.enabled</name>
    <value>true</value>
    <description>
      Specifies whether security (user name/admin role) is enabled or not.
      If disabled any user can manage Oozie system and manage any job.
    </description>
  </property>

  <property>
    <name>oozie.service.PurgeService.older.than</name>
    <value>30</value>
    <description>
      Jobs older than this value, in days, will be purged by the PurgeService.
    </description>
  </property>

  <property>
    <name>oozie.service.PurgeService.purge.interval</name>
    <value>3600</value>
    <description>
      Interval at which the purge service will run, in seconds.
    </description>
  </property>

  <property>
    <name>oozie.service.CallableQueueService.queue.size</name>
    <value>1000</value>
    <description>Max callable queue size</description>
  </property>

  <property>
    <name>oozie.service.CallableQueueService.threads</name>
    <value>10</value>
    <description>Number of threads used for executing callables</description>
  </property>

  <property>
    <name>oozie.service.CallableQueueService.callable.concurrency</name>
    <value>3</value>
    <description>
      Maximum concurrency for a given callable type.
      Each command is a callable type (submit, start, run, signal, job, jobs, suspend,resume, etc).
      Each action type is a callable type (Map-Reduce, Pig, SSH, FS, sub-workflow, etc).
      All commands that use action executors (action-start, action-end, action-kill and action-check) use
      the action type as the callable type.
    </description>
  </property>

  <property>
    <name>oozie.service.coord.normal.default.timeout</name>
    <value>120</value>
    <description>Default timeout for a coordinator action input check (in minutes) for normal job.
      -1 means infinite timeout
    </description>
  </property>

  <property>
    <name>oozie.db.schema.name</name>
    <value>oozie</value>
    <display-name>Database Name</display-name>
    <description>
      Oozie DataBase Name
    </description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <property>
    <name>oozie.authentication.type</name>
    <value>simple</value>
    <description>
      Authentication used for Oozie HTTP endpoint, the supported values are: simple | kerberos |
      #AUTHENTICATION_HANDLER_CLASSNAME#.
    </description>
  </property>

  <property>
    <name>oozie.service.WorkflowAppService.system.libpath</name>
    <value>/user/${user.name}/share/lib</value>
    <description>
      System library path to use for workflow applications.
      This path is added to workflow application if their job properties sets
      the property 'oozie.use.system.libpath' to true.
    </description>
  </property>

  <property>
    <name>use.system.libpath.for.mapreduce.and.pig.jobs</name>
    <value>false</value>
    <description>
      If set to true, submissions of MapReduce and Pig jobs will include
      automatically the system library path, thus not requiring users to
      specify where the Pig JAR files are. Instead, the ones from the system
      library path are used.
    </description>
  </property>
  <property>
    <name>oozie.authentication.kerberos.name.rules</name>
    <description>The mapping from kerberos principal names to local OS user names.</description>
  </property>
  <property>
    <name>oozie.service.HadoopAccessorService.hadoop.configurations</name>
    <value>*=/etc/hadoop/conf</value>
    <description>
      Comma separated AUTHORITY=HADOOP_CONF_DIR, where AUTHORITY is the HOST:PORT of
      the Hadoop service (JobTracker, HDFS). The wildcard '*' configuration is
      used when there is no exact match for an authority. The HADOOP_CONF_DIR contains
      the relevant Hadoop *-site.xml files. If the path is relative is looked within
      the Oozie configuration directory; though the path can be absolute (i.e. to point
      to Hadoop client conf/ directories in the local filesystem.
    </description>
  </property>
  <property>
    <name>oozie.service.ActionService.executor.ext.classes</name>
    <value>
      org.apache.oozie.action.email.EmailActionExecutor,
      org.apache.oozie.action.hadoop.HiveActionExecutor,
      org.apache.oozie.action.hadoop.ShellActionExecutor,
      org.apache.oozie.action.hadoop.SqoopActionExecutor,
      org.apache.oozie.action.hadoop.DistcpActionExecutor
    </value>
    <description>
      List of ActionExecutors extension classes (separated by commas). Only action types with associated executors can
      be used in workflows. This property is a convenience property to add extensions to the built in executors without
      having to include all the built in ones.
    </description>
  </property>

  <property>
    <name>oozie.service.SchemaService.wf.ext.schemas</name>
    <value>shell-action-0.1.xsd,email-action-0.1.xsd,hive-action-0.2.xsd,sqoop-action-0.2.xsd,ssh-action-0.1.xsd,distcp-action-0.1.xsd,shell-action-0.2.xsd,oozie-sla-0.1.xsd,oozie-sla-0.2.xsd,hive-action-0.3.xsd</value>
    <description>
      Schemas for additional actions types. IMPORTANT: if there are no schemas leave a 1 space string, the service
      trims the value, if empty Configuration assumes it is NULL.
    </description>
  </property>
  <property>
    <name>oozie.service.JPAService.create.db.schema</name>
    <value>false</value>
    <description>
      Creates Oozie DB.

      If set to true, it creates the DB schema if it does not exist. If the DB schema exists is a NOP.
      If set to false, it does not create the DB schema. If the DB schema does not exist it fails start up.
    </description>
  </property>

  <property>
    <name>oozie.service.JPAService.jdbc.driver</name>
    <value>org.apache.derby.jdbc.EmbeddedDriver</value>
    <display-name>JDBC Driver Class</display-name>
    <description>
      JDBC driver class.
    </description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <property>
    <name>oozie.service.JPAService.jdbc.url</name>
    <value>jdbc:derby:${oozie.data.dir}/${oozie.db.schema.name}-db;create=true</value>
    <display-name>Database URL</display-name>
    <description>
      JDBC URL.
    </description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <property>
    <name>oozie.service.JPAService.jdbc.username</name>
    <value>oozie</value>
    <display-name>Database Username</display-name>
    <description>
      Database user name to use to connect to the database
    </description>
    <value-attributes>
      <type>db_user</type>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <property>
    <name>oozie.service.JPAService.pool.max.active.conn</name>
    <value>10</value>
    <description>
      Max number of connections.
    </description>
  </property>

  <property>
    <name>oozie.services</name>
    <value>
      org.apache.oozie.service.SchedulerService,
      org.apache.oozie.service.InstrumentationService,
      org.apache.oozie.service.CallableQueueService,
      org.apache.oozie.service.UUIDService,
      org.apache.oozie.service.ELService,
      org.apache.oozie.service.AuthorizationService,
      org.apache.oozie.service.UserGroupInformationService,
      org.apache.oozie.service.HadoopAccessorService,
      org.apache.oozie.service.URIHandlerService,
      org.apache.oozie.service.MemoryLocksService,
      org.apache.oozie.service.DagXLogInfoService,
      org.apache.oozie.service.SchemaService,
      org.apache.oozie.service.LiteWorkflowAppService,
      org.apache.oozie.service.JPAService,
      org.apache.oozie.service.StoreService,
      org.apache.oozie.service.CoordinatorStoreService,
      org.apache.oozie.service.SLAStoreService,
      org.apache.oozie.service.DBLiteWorkflowStoreService,
      org.apache.oozie.service.CallbackService,
      org.apache.oozie.service.ActionService,
      org.apache.oozie.service.ActionCheckerService,
      org.apache.oozie.service.RecoveryService,
      org.apache.oozie.service.PurgeService,
      org.apache.oozie.service.CoordinatorEngineService,
      org.apache.oozie.service.BundleEngineService,
      org.apache.oozie.service.DagEngineService,
      org.apache.oozie.service.CoordMaterializeTriggerService,
      org.apache.oozie.service.StatusTransitService,
      org.apache.oozie.service.PauseTransitService,
      org.apache.oozie.service.GroupsService,
      org.apache.oozie.service.ProxyUserService,
      org.apache.oozie.service.XLogStreamingService,
      org.apache.oozie.service.JobsConcurrencyService
    </value>
    <description>List of Oozie services</description>
  </property>
  <property>
    <name>oozie.service.URIHandlerService.uri.handlers</name>
    <value>org.apache.oozie.dependency.FSURIHandler,org.apache.oozie.dependency.HCatURIHandler</value>
    <description>
      Enlist the different uri handlers supported for data availability checks.
    </description>
  </property>
  <property>
    <name>oozie.services.ext</name>
    <value>org.apache.oozie.service.JMSAccessorService,org.apache.oozie.service.PartitionDependencyManagerService,org.apache.oozie.service.HCatAccessorService
    </value>
    <description>
      To add/replace services defined in 'oozie.services' with custom implementations.
      Class names must be separated by commas.
    </description>
  </property>
  <property>
    <name>oozie.service.coord.push.check.requeue.interval</name>
    <value>30000</value>
    <description>
      Command re-queue interval for push dependencies (in millisecond).
    </description>
  </property>
  <property>
    <name>oozie.credentials.credentialclasses</name>
    <value>hcat=org.apache.oozie.action.hadoop.HCatCredentials</value>
    <description>
      Credential Class to be used for HCat.
    </description>
  </property>

</configuration>