| # |
| # 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. |
| # |
| |
| *.domain=${falcon.app.type} |
| |
| ######### StateStore Properties ##### |
| #*.falcon.state.store.impl=org.apache.falcon.state.store.jdbc.JDBCStateStore |
| #*.falcon.statestore.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver |
| ## Falcon currently supports derby, mysql and postgreSQL, change url based on DB. |
| ## If you are using MySQL ensure you also copy mysql-connector-java-<version>.jar under |
| ## $FALCON_HOME/server/webapp/falcon/WEB-INF/lib and $FALCON_HOME/client/lib |
| #*.falcon.statestore.jdbc.url=jdbc:derby:data/falcon.db;create=true |
| |
| ##Note : In case you are using mysql or postgres please specify URL as |
| ## jdbc:mysql://localhost:3306/dbname?serverTimezone=UTC |
| ## serverTimezone should be same as that of Oozie server. |
| |
| ## StateStore credentials file where username,password and other properties can be stored securely. |
| ## Set this credentials file permission 400 and make sure user who starts falcon should only have read permission. |
| ## Give Absolute path to credentials file along with file name or put in classpath with filename statestore.credentials. |
| ## Credentials file should be present either in given location or class path, otherwise falcon won't start. |
| #*.falcon.statestore.credentials.file= |
| |
| #*.falcon.statestore.connection.data.source=org.apache.commons.dbcp.BasicDataSource |
| ## Maximum number of active connections that can be allocated from this pool at the same time. |
| #*.falcon.statestore.pool.max.active.conn=10 |
| ## Any additional connection properties that need to be used, specified as comma separated key=value pairs. |
| #*.falcon.statestore.connection.properties= |
| ## Indicates the interval (in milliseconds) between eviction runs. |
| #*.falcon.statestore.validate.db.connection.eviction.interval=300000 |
| ## The number of objects to examine during each run of the idle object evictor thread. |
| #*.falcon.statestore.validate.db.connection.eviction.num=10 |
| ## Creates Falcon 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. |
| ## In production environments it is recommended not to change this property,create schema using tool provided by falcon. |
| #*.falcon.statestore.create.db.schema=false |
| |