|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | + |
| 18 | +# |
| 19 | +# Sqoop configuration file used by the built in configuration |
| 20 | +# provider: org.apache.sqoop.core.PropertiesConfigurationProvider. |
| 21 | +# This file must reside in the system configuration directory |
| 22 | +# which is specified by the system property "sqoop.config.dir" |
| 23 | +# and must be called sqoop.properties. |
| 24 | +# |
| 25 | +# NOTE: Tokens specified in this file that are marked by a |
| 26 | +# leading and trailing '@' characters should be replaced by |
| 27 | +# their appropriate values. For example, the token @LOGDIR@ |
| 28 | +# should be replaced appropriately. |
| 29 | +# |
| 30 | +# The following tokens are used in this configuration file: |
| 31 | +# |
| 32 | +# LOGDIR |
| 33 | +# The absolute path to the directory where system genearated |
| 34 | +# log files will be kept. |
| 35 | +# |
| 36 | +# BASEDIR |
| 37 | +# The absolute path to the directory where Sqoop 2 is installed |
| 38 | +# |
| 39 | + |
| 40 | +# |
| 41 | +# Logging Configuration |
| 42 | +# Any property that starts with the prefix |
| 43 | +# org.apache.sqoop.log4j is parsed out by the configuration |
| 44 | +# system and passed to the log4j subsystem. This allows you |
| 45 | +# to specify log4j configuration properties from within the |
| 46 | +# Sqoop configuration. |
| 47 | +# |
| 48 | +org.apache.sqoop.log4j.debug=false |
| 49 | +org.apache.sqoop.log4j.rootLogger=INFO, file |
| 50 | +org.apache.sqoop.log4j.category.org.apache.sqoop=INFO |
| 51 | +org.apache.sqoop.log4j.appender.file=org.apache.log4j.RollingFileAppender |
| 52 | +org.apache.sqoop.log4j.appender.file.File=/var/log/sds/sqoop-server/sqoop.log |
| 53 | +org.apache.sqoop.log4j.appender.file.MaxFileSize=25MB |
| 54 | +org.apache.sqoop.log4j.appender.file.MaxBackupIndex=5 |
| 55 | +org.apache.sqoop.log4j.appender.file.layout=org.apache.log4j.PatternLayout |
| 56 | +org.apache.sqoop.log4j.appender.file.layout.ConversionPattern=%d{ISO8601} %-5p [%l] %m%n |
| 57 | +# Audit logger for default configuration of FileAuditLogger |
| 58 | +org.apache.sqoop.log4j.logger.audit=INFO, audit |
| 59 | +org.apache.sqoop.log4j.appender.audit=org.apache.log4j.RollingFileAppender |
| 60 | +org.apache.sqoop.log4j.appender.audit.File=/var/log/sds/sqoop-server/audit.log |
| 61 | +org.apache.sqoop.log4j.appender.audit.MaxFileSize=25MB |
| 62 | +org.apache.sqoop.log4j.appender.audit.MaxBackupIndex=5 |
| 63 | +org.apache.sqoop.log4j.appender.audit.layout=org.apache.log4j.PatternLayout |
| 64 | +org.apache.sqoop.log4j.appender.audit.layout.ConversionPattern=%d{ISO8601} %-5p [%l] %m%n |
| 65 | + |
| 66 | +# |
| 67 | +# Audit Loggers Configuration |
| 68 | +# Multiple audit loggers could be given here. To specify an |
| 69 | +# audit logger, you should at least add org.apache.sqoop. |
| 70 | +# auditlogger.[LoggerName].class. You could also provide |
| 71 | +# more configuration options by using org.apache.sqoop. |
| 72 | +# auditlogger.[LoggerName] prefix, then all these options |
| 73 | +# are parsed to the logger class. |
| 74 | +# |
| 75 | +org.apache.sqoop.auditlogger.default.class=org.apache.sqoop.audit.FileAuditLogger |
| 76 | +org.apache.sqoop.auditlogger.default.logger=audit |
| 77 | + |
| 78 | +# |
| 79 | +# Repository configuration |
| 80 | +# The Repository subsystem provides the special prefix which |
| 81 | +# is "org.apache.sqoop.repository.sysprop". Any property that |
| 82 | +# is specified with this prefix is parsed out and set as a |
| 83 | +# system property. For example, if the built in Derby repository |
| 84 | +# is being used, the sysprop prefixed properties can be used |
| 85 | +# to affect Derby configuration at startup time by setting |
| 86 | +# the appropriate system properties. |
| 87 | +# |
| 88 | + |
| 89 | +# Repository provider |
| 90 | +org.apache.sqoop.repository.provider=org.apache.sqoop.repository.JdbcRepositoryProvider |
| 91 | + |
| 92 | +# Repository upgrade |
| 93 | +# If set to true, it will not upgrade the sqoop respository schema, by default it will iniate the upgrade on server start-up |
| 94 | +org.apache.sqoop.repository.schema.immutable=false |
| 95 | + |
| 96 | +# JDBC repository provider configuration |
| 97 | +org.apache.sqoop.repository.jdbc.handler=org.apache.sqoop.repository.derby.DerbyRepositoryHandler |
| 98 | +org.apache.sqoop.repository.jdbc.transaction.isolation=READ_COMMITTED |
| 99 | +org.apache.sqoop.repository.jdbc.maximum.connections=10 |
| 100 | +org.apache.sqoop.repository.jdbc.url=jdbc:derby:/var/log/sds/sqoop-server/repository/db;create=true |
| 101 | +org.apache.sqoop.repository.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver |
| 102 | +org.apache.sqoop.repository.jdbc.user=sa |
| 103 | +org.apache.sqoop.repository.jdbc.password= |
| 104 | + |
| 105 | +# System properties for embedded Derby configuration |
| 106 | +org.apache.sqoop.repository.sysprop.derby.stream.error.file=/var/log/sds/sqoop-server/derbyrepo.log |
| 107 | + |
| 108 | +# |
| 109 | +# Sqoop Connector configuration |
| 110 | +# If set to true will initiate Connectors config upgrade during server startup |
| 111 | +# |
| 112 | +org.apache.sqoop.connector.autoupgrade=false |
| 113 | + |
| 114 | +# |
| 115 | +# Sqoop Driver configuration |
| 116 | +# If set to true will initiate the Driver config upgrade during server startup |
| 117 | +# |
| 118 | +org.apache.sqoop.driver.autoupgrade=false |
| 119 | + |
| 120 | +# Sleeping period for reloading configuration file (once a minute) |
| 121 | +org.apache.sqoop.core.configuration.provider.properties.sleep=60000 |
| 122 | + |
| 123 | +# |
| 124 | +# Submission engine configuration |
| 125 | +# |
| 126 | + |
| 127 | +# Submission engine class |
| 128 | +#org.apache.sqoop.submission.engine=org.apache.sqoop.submission.mapreduce.MapreduceSubmissionEngine |
| 129 | +org.apache.sqoop.submission.engine=org.apache.sqoop.submission.spark.SparkSubmissionEngine |
| 130 | + |
| 131 | +# Number of milliseconds, submissions created before this limit will be removed, default is one day |
| 132 | +#org.apache.sqoop.submission.purge.threshold= |
| 133 | + |
| 134 | +# Number of milliseconds for purge thread to sleep, by default one day |
| 135 | +#org.apache.sqoop.submission.purge.sleep= |
| 136 | + |
| 137 | +# Number of milliseconds for update thread to sleep, by default 5 minutes |
| 138 | +#org.apache.sqoop.submission.update.sleep= |
| 139 | + |
| 140 | +# |
| 141 | +# Configuration for Mapreduce submission engine (applicable if it's configured) |
| 142 | +# |
| 143 | + |
| 144 | +# Hadoop configuration directory |
| 145 | +org.apache.sqoop.submission.engine.mapreduce.configuration.directory=/etc/hadoop/conf/ |
| 146 | + |
| 147 | +# |
| 148 | +# Execution engine configuration |
| 149 | +# |
| 150 | +#org.apache.sqoop.execution.engine=org.apache.sqoop.execution.mapreduce.MapreduceExecutionEngine |
| 151 | +org.apache.sqoop.execution.engine=org.apache.sqoop.execution.spark.SparkExecutionEngine |
| 152 | + |
| 153 | + |
| 154 | +# Yarn configuration directory for spark ( since spark can run on yarn) |
| 155 | +org.apache.sqoop.submission.engine.spark.configuration.directory=/etc/hadoop/conf |
| 156 | +# |
| 157 | +# Spark related configs |
| 158 | +# |
| 159 | + |
| 160 | +# |
| 161 | +# Authentication configuration |
| 162 | +# |
| 163 | +#org.apache.sqoop.security.authentication.type=SIMPLE |
| 164 | +#org.apache.sqoop.security.authentication.handler=org.apache.sqoop.security.authentication.SimpleAuthenticationHandler |
| 165 | +#org.apache.sqoop.security.authentication.anonymous=true |
| 166 | +#org.apache.sqoop.security.authentication.type=KERBEROS |
| 167 | +#org.apache.sqoop.security.authentication.handler=org.apache.sqoop.security.authentication.KerberosAuthenticationHandler |
| 168 | +#org.apache.sqoop.security.authentication.kerberos.principal=sqoop/_HOST@NOVALOCAL |
| 169 | +#org.apache.sqoop.security.authentication.kerberos.keytab=/home/kerberos/sqoop.keytab |
| 170 | +#org.apache.sqoop.security.authentication.kerberos.http.principal=HTTP/_HOST@NOVALOCAL |
| 171 | +#org.apache.sqoop.security.authentication.kerberos.http.keytab=/home/kerberos/sqoop.keytab |
| 172 | +#org.apache.sqoop.security.authentication.enable.doAs=true |
| 173 | +#org.apache.sqoop.security.authentication.proxyuser.#USER#.users=* |
| 174 | +#org.apache.sqoop.security.authentication.proxyuser.#USER#.groups=* |
| 175 | +#org.apache.sqoop.security.authentication.proxyuser.#USER#.hosts=* |
| 176 | + |
| 177 | +# Default user, default value is "sqoop.anonymous.user" |
| 178 | +#org.apache.sqoop.security.authentication.default.user= |
| 179 | + |
| 180 | +# |
| 181 | +# Authorization configuration |
| 182 | +# |
| 183 | +#org.apache.sqoop.security.authorization.handler=org.apache.sqoop.security.authorization.DefaultAuthorizationHandler |
| 184 | +#org.apache.sqoop.security.authorization.access_controller=org.apache.sqoop.security.authorization.DefaultAuthorizationAccessController |
| 185 | +#org.apache.sqoop.security.authorization.validator=org.apache.sqoop.security.authorization.DefaultAuthorizationValidator |
| 186 | +#org.apache.sqoop.security.authorization.authentication_provider=org.apache.sqoop.security.authorization.DefaultAuthenticationProvider |
| 187 | +#org.apache.sqoop.security.authorization.server_name=SqoopServer1 |
| 188 | + |
| 189 | +# External connectors load path |
| 190 | +# "/path/to/external/connectors/": Add all the connector JARs in the specified folder |
| 191 | +# |
| 192 | +org.apache.sqoop.connector.external.loadpath= |
| 193 | + |
| 194 | +# Sqoop application classpath |
| 195 | +# ":" separated list of jars to be included in sqoop. |
| 196 | +# |
| 197 | +org.apache.sqoop.classpath.extra= |
| 198 | + |
| 199 | +# Sqoop extra classpath to be included with all jobs |
| 200 | +# ":" separated list of jars to be included in map job classpath. |
| 201 | +# |
| 202 | +org.apache.sqoop.classpath.job= |
| 203 | + |
| 204 | +# |
| 205 | +# Jetty Server configuration |
| 206 | +# |
| 207 | +#org.apache.sqoop.jetty.thread.pool.worker.max=500 |
| 208 | +#org.apache.sqoop.jetty.thread.pool.worker.min=5 |
| 209 | +#org.apache.sqoop.jetty.thread.pool.worker.alive.time=60 |
| 210 | +#org.apache.sqoop.jetty.port=12000 |
| 211 | + |
| 212 | +# Blacklisted Connectors |
| 213 | +# ":" separated list of connector names as specified in their |
| 214 | +# sqoopconnector.properties file |
| 215 | +org.apache.sqoop.connector.blacklist= |
| 216 | + |
| 217 | +stratio.sqoop.version=${project.version} |
| 218 | +name=${name} |
| 219 | +version=${version} |
| 220 | +maven.compile.source=${maven.compile.source} |
0 commit comments