summaryrefslogtreecommitdiff
path: root/ambari-server/src/test/python/stacks/2.1/configs/hive-metastore-upgrade.json
blob: 7829f05804a91a48ab14f1086c480ff1cf0213a2 (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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
{
    "roleCommand": "CUSTOM_COMMAND", 
    "forceRefreshConfigTagsBeforeExecution": [
        "*"
    ], 
    "configuration_attributes": {
    }, 
    "commandParams": {
        "upgrade_direction": "upgrade", 
        "service_package_folder": "common-services/HIVE/0.12.0.2.0/package", 
        "script": "scripts/hive_metastore.py", 
        "hooks_folder": "HDP/2.0.6/hooks", 
        "restart_type": "nonrolling_upgrade", 
        "version": "2.3.2.0-2950", 
        "forceRefreshConfigTagsBeforeExecution": "*", 
        "original_stack": "HDP-2.3", 
        "command_timeout": "1200", 
        "target_stack": "HDP-2.3", 
        "script_type": "PYTHON"
    }, 
    "stageId": 36, 
    "kerberosCommandParams": [], 
    "clusterName": "c1", 
    "hostname": "c6402.ambari.apache.org", 
    "hostLevelParams": {
        "stack_name": "HDP", 
        "group_list": "[\"hadoop\",\"users\"]", 
        "host_sys_prepped": "false", 
        "ambari_db_rca_username": "mapred", 
        "current_version": "2.3.0.0-2557", 
        "jdk_name": "jdk-7u45-linux-x64.tar.gz", 
        "mysql_jdbc_url": "http://10.0.0.13:8080/resources//mysql-connector-java.jar", 
        "repo_info": "[{\"baseUrl\":\"http://repos.ambari.apache.org/hdp/HDP-2.3.0.0-2557\",\"osType\":\"redhat6\",\"repoId\":\"HDP-2.3\",\"repoName\":\"HDP\",\"defaultBaseUrl\":\"http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0\",\"latestBaseUrl\":\"http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos6/2.x/BUILDS/2.3.4.0-3360\",\"baseSaved\":true},{\"baseUrl\":\"http://repos.ambari.apache.org/hdp/HDP-UTILS-1.1.0.20\",\"osType\":\"redhat6\",\"repoId\":\"HDP-UTILS-1.1.0.20\",\"repoName\":\"HDP-UTILS\",\"defaultBaseUrl\":\"http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6\",\"latestBaseUrl\":\"http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6\",\"baseSaved\":true}]", 
        "custom_command": "RESTART", 
        "stack_version": "2.3", 
        "ambari_db_rca_driver": "org.postgresql.Driver", 
        "java_home": "/usr/jdk64/jdk1.7.0_45", 
        "jdk_location": "http://10.0.0.13:8080/resources/", 
        "ambari_db_rca_url": "jdbc:postgresql://10.0.0.13/ambarirca", 
        "java_version": "7", 
        "oracle_jdbc_url": "http://10.0.0.13:8080/resources//ojdbc6.jar", 
        "agentCacheDir": "/var/lib/ambari-agent/cache", 
        "ambari_db_rca_password": "mapred", 
        "jce_name": "UnlimitedJCEPolicyJDK7.zip", 
        "db_name": "ambari", 
        "db_driver_filename": "mysql-connector-java.jar", 
        "user_list": "[\"hive\",\"mapred\",\"ambari-qa\",\"zookeeper\",\"tez\",\"hdfs\",\"yarn\",\"hcat\"]"
    }, 
    "commandType": "EXECUTION_COMMAND", 
    "roleParams": {
        "component_category": "MASTER"
    }, 
    "serviceName": "HIVE", 
    "role": "HIVE_METASTORE", 
    "requestId": 9, 
    "taskId": 176, 
    "public_hostname": "c6402.ambari.apache.org", 
    "configurations": {
        "webhcat-env": {
            "content": "\n# The file containing the running pid\nPID_FILE={{webhcat_pid_file}}\n\nTEMPLETON_LOG_DIR={{templeton_log_dir}}/\n\n\nWEBHCAT_LOG_DIR={{templeton_log_dir}}/\n\n# The console error log\nERROR_LOG={{templeton_log_dir}}/webhcat-console-error.log\n\n# The console log\nCONSOLE_LOG={{templeton_log_dir}}/webhcat-console.log\n\n#TEMPLETON_JAR=templeton_jar_name\n\n#HADOOP_PREFIX=hadoop_prefix\n\n#HCAT_PREFIX=hive_prefix\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nexport HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}"
        }, 
        "hcat-env": {
            "content": "\n      # Licensed to the Apache Software Foundation (ASF) under one\n      # or more contributor license agreements. See the NOTICE file\n      # distributed with this work for additional information\n      # regarding copyright ownership. The ASF licenses this file\n      # to you under the Apache License, Version 2.0 (the\n      # \"License\"); you may not use this file except in compliance\n      # with the License. You may obtain a copy of the License at\n      #\n      # http://www.apache.org/licenses/LICENSE-2.0\n      #\n      # Unless required by applicable law or agreed to in writing, software\n      # distributed under the License is distributed on an \"AS IS\" BASIS,\n      # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n      # See the License for the specific language governing permissions and\n      # limitations under the License.\n\n      JAVA_HOME={{java64_home}}\n      HCAT_PID_DIR={{hcat_pid_dir}}/\n      HCAT_LOG_DIR={{hcat_log_dir}}/\n      HCAT_CONF_DIR={{hcat_conf_dir}}\n      HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n      #DBROOT is the path where the connector jars are downloaded\n      DBROOT={{hcat_dbroot}}\n      USER={{hcat_user}}\n      METASTORE_PORT={{hive_metastore_port}}"
        }, 
        "hive-env": {
            "hive_user_nproc_limit": "16000", 
            "hive_pid_dir": "/var/run/hive", 
            "hcat_log_dir": "/var/log/webhcat", 
            "hive.client.heapsize": "1024", 
            "hive_ambari_database": "MySQL", 
            "content": "\n if [ \"$SERVICE\" = \"cli\" ]; then\n   if [ -z \"$DEBUG\" ]; then\n     export HADOOP_OPTS=\"$HADOOP_OPTS -XX:NewRatio=12 -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=15 -XX:+UseNUMA -XX:+UseParallelGC -XX:-UseGCOverheadLimit\"\n   else\n     export HADOOP_OPTS=\"$HADOOP_OPTS -XX:NewRatio=12 -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=15 -XX:-UseGCOverheadLimit\"\n   fi\n fi\n\n# The heap size of the jvm stared by hive shell script can be controlled via:\n\nif [ \"$SERVICE\" = \"metastore\" ]; then\n  export HADOOP_HEAPSIZE={{hive_metastore_heapsize}} # Setting for HiveMetastore\nelse\n  export HADOOP_HEAPSIZE={{hive_heapsize}} # Setting for HiveServer2 and Client\nfi\n\nexport HADOOP_CLIENT_OPTS=\"$HADOOP_CLIENT_OPTS  -Xmx${HADOOP_HEAPSIZE}m\"\n\n# Larger heap size may be required when running queries over large number of files or partitions.\n# By default hive shell scripts use a heap size of 256 (MB).  Larger heap size would also be\n# appropriate for hive server (hwi etc).\n\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nHADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\n# Hive Configuration Directory can be controlled by:\nexport HIVE_CONF_DIR={{hive_config_dir}}\n\n# Folder containing extra libraries required for hive compilation/execution can be controlled by:\nif [ \"${HIVE_AUX_JARS_PATH}\" != \"\" ]; then\n  if [ -f \"${HIVE_AUX_JARS_PATH}\" ]; then\n    export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}\n  elif [ -d \"/usr/hdp/current/hive-webhcat/share/hcatalog\" ]; then\n    export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar\n  fi\nelif [ -d \"/usr/hdp/current/hive-webhcat/share/hcatalog\" ]; then\n  export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar\nfi\n\nexport METASTORE_PORT={{hive_metastore_port}}\n\n{% if sqla_db_used or lib_dir_available %}\nexport LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:{{jdbc_libs_dir}}\"\nexport JAVA_LIBRARY_PATH=\"$JAVA_LIBRARY_PATH:{{jdbc_libs_dir}}\"\n{% endif %}", 
            "hive_timeline_logging_enabled": "true", 
            "hive_user_nofile_limit": "32000", 
            "hive.metastore.heapsize": "512", 
            "hive_database_name": "hive", 
            "hive_database_type": "mysql", 
            "hive_user": "hive", 
            "hive_database": "New MySQL Database", 
            "hive.heapsize": "703", 
            "hcat_pid_dir": "/var/run/webhcat", 
            "cost_based_optimizer": "On", 
            "webhcat_user": "hcat", 
            "hive_security_authorization": "None", 
            "hive_exec_orc_storage_strategy": "SPEED", 
            "hive_log_dir": "/var/log/hive", 
            "hive_txn_acid": "off", 
            "hcat_user": "hcat"
        }, 
        "hive-site": {
            "javax.jdo.option.ConnectionDriverName": "com.mysql.jdbc.Driver", 
            "hive.fetch.task.aggr": "false", 
            "hive.execution.engine": "tez", 
            "hive.tez.java.opts": "-server -Djava.net.preferIPv4Stack=true -XX:NewRatio=8 -XX:+UseNUMA -XX:+UseParallelGC -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps", 
            "hive.server2.table.type.mapping": "CLASSIC", 
            "hive.tez.min.partition.factor": "0.25", 
            "hive.tez.cpu.vcores": "-1", 
            "hive.conf.restricted.list": "hive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role", 
            "hive.stats.dbclass": "fs", 
            "hive.tez.auto.reducer.parallelism": "true", 
            "hive.auto.convert.sortmerge.join.to.mapjoin": "false", 
            "hive.server2.thrift.http.path": "cliservice", 
            "hive.exec.scratchdir": "/tmp/hive", 
            "hive.exec.post.hooks": "org.apache.hadoop.hive.ql.hooks.ATSHook", 
            "hive.zookeeper.namespace": "hive_zookeeper_namespace", 
            "hive.cbo.enable": "true", 
            "hive.optimize.index.filter": "true", 
            "hive.optimize.bucketmapjoin": "true", 
            "hive.mapjoin.bucket.cache.size": "10000", 
            "hive.limit.optimize.enable": "true", 
            "hive.fetch.task.conversion.threshold": "1073741824", 
            "hive.exec.max.dynamic.partitions": "5000", 
            "hive.metastore.sasl.enabled": "false", 
            "hive.txn.manager": "org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager", 
            "hive.optimize.constant.propagation": "true", 
            "hive.exec.submitviachild": "false", 
            "hive.metastore.kerberos.principal": "hive/_HOST@EXAMPLE.COM", 
            "hive.txn.max.open.batch": "1000", 
            "hive.exec.compress.output": "false", 
            "hive.merge.size.per.task": "256000000", 
            "hive.security.authenticator.manager": "org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator", 
            "hive.merge.mapfiles": "true", 
            "hive.compactor.initiator.on": "false", 
            "hive.mapjoin.optimized.hashtable": "true", 
            "hive.default.fileformat": "TextFile", 
            "hive.optimize.metadataonly": "true", 
            "hive.tez.dynamic.partition.pruning.max.event.size": "1048576", 
            "hive.server2.thrift.max.worker.threads": "500", 
            "hive.optimize.sort.dynamic.partition": "false", 
            "hive.server2.thrift.http.port": "10001", 
            "hive.metastore.pre.event.listeners": "org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener", 
            "hive.metastore.failure.retries": "24", 
            "hive.merge.smallfiles.avgsize": "16000000", 
            "hive.tez.max.partition.factor": "2.0", 
            "hive.server2.transport.mode": "binary", 
            "hive.tez.container.size": "170", 
            "hive.optimize.bucketmapjoin.sortedmerge": "false", 
            "hive.compactor.worker.threads": "0", 
            "hive.security.metastore.authorization.manager": "org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider", 
            "hive.server2.thrift.port": "10000", 
            "hive.map.aggr.hash.percentmemory": "0.5", 
            "hive.user.install.directory": "/user/", 
            "datanucleus.autoCreateSchema": "false", 
            "hive.compute.query.using.stats": "true", 
            "hive.merge.rcfile.block.level": "true", 
            "hive.map.aggr": "true", 
            "hive.metastore.client.connect.retry.delay": "5s", 
            "hive.security.authorization.enabled": "false", 
            "hive.map.aggr.hash.force.flush.memory.threshold": "0.9", 
            "hive.server2.tez.default.queues": "default", 
            "hive.prewarm.enabled": "false", 
            "hive.exec.reducers.max": "1009", 
            "hive.metastore.kerberos.keytab.file": "/etc/security/keytabs/hive.service.keytab", 
            "hive.stats.fetch.partition.stats": "true", 
            "hive.cli.print.header": "false", 
            "hive.server2.thrift.sasl.qop": "auth", 
            "hive.server2.support.dynamic.service.discovery": "true", 
            "hive.fetch.task.conversion": "more", 
            "hive.exec.reducers.bytes.per.reducer": "67108864", 
            "hive.compactor.abortedtxn.threshold": "1000", 
            "hive.tez.dynamic.partition.pruning.max.data.size": "104857600", 
            "hive.metastore.warehouse.dir": "/apps/hive/warehouse", 
            "hive.metastore.client.socket.timeout": "1800s", 
            "hive.server2.zookeeper.namespace": "hiveserver2", 
            "hive.prewarm.numcontainers": "3", 
            "hive.vectorized.groupby.flush.percent": "0.1", 
            "hive.server2.enable.doAs": "true", 
            "hive.security.metastore.authenticator.manager": "org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator", 
            "hive.server2.use.SSL": "false", 
            "hive.enforce.bucketing": "false", 
            "hive.server2.authentication.spnego.keytab": "HTTP/_HOST@EXAMPLE.COM", 
            "hive.mapred.reduce.tasks.speculative.execution": "false", 
            "javax.jdo.option.ConnectionURL": "jdbc:mysql://c6402.ambari.apache.org/hive?createDatabaseIfNotExist=true", 
            "hive.exec.dynamic.partition.mode": "strict", 
            "hive.auto.convert.sortmerge.join": "true", 
            "hive.zookeeper.quorum": "c6403.ambari.apache.org:2181,c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181", 
            "hive.security.authorization.manager": "org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdConfOnlyAuthorizerFactory", 
            "hive.exec.parallel": "false", 
            "hive.stats.fetch.column.stats": "true", 
            "hive.enforce.sorting": "true", 
            "hive.txn.timeout": "300", 
            "hive.metastore.authorization.storage.checks": "false", 
            "hive.exec.orc.default.stripe.size": "67108864", 
            "hive.metastore.cache.pinobjtypes": "Table,Database,Type,FieldSchema,Order", 
            "hive.server2.logging.operation.enabled": "true", 
            "hive.merge.tezfiles": "false", 
            "hive.exec.parallel.thread.number": "8", 
            "hive.auto.convert.join.noconditionaltask": "true", 
            "hive.server2.authentication.spnego.principal": "/etc/security/keytabs/spnego.service.keytab", 
            "hive.compactor.worker.timeout": "86400L", 
            "hive.optimize.null.scan": "true", 
            "hive.server2.tez.initialize.default.sessions": "false", 
            "datanucleus.cache.level2.type": "none", 
            "hive.stats.autogather": "true", 
            "hive.auto.convert.join": "true", 
            "hive.exec.submit.local.task.via.child": "true", 
            "hive.merge.mapredfiles": "false", 
            "hive.vectorized.execution.enabled": "true", 
            "hive.cluster.delegation.token.store.zookeeper.connectString": "c6403.ambari.apache.org:2181,c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181", 
            "hive.vectorized.execution.reduce.enabled": "false", 
            "hive.optimize.reducededuplication": "true", 
            "hive.server2.tez.sessions.per.default.queue": "1", 
            "hive.exec.max.dynamic.partitions.pernode": "2000", 
            "hive.tez.dynamic.partition.pruning": "true", 
            "datanucleus.fixedDatastore": "true", 
            "hive.limit.pushdown.memory.usage": "0.04", 
            "hive.security.metastore.authorization.auth.reads": "true", 
            "ambari.hive.db.schema.name": "hive", 
            "hive.vectorized.groupby.checkinterval": "4096", 
            "hive.smbjoin.cache.rows": "10000", 
            "hive.metastore.execute.setugi": "true", 
            "hive.zookeeper.client.port": "2181", 
            "hive.vectorized.groupby.maxentries": "100000", 
            "hive.cluster.delegation.token.store.class": "org.apache.hadoop.hive.thrift.ZooKeeperTokenStore", 
            "hive.cluster.delegation.token.store.zookeeper.znode": "/hive/cluster/delegation", 
            "javax.jdo.option.ConnectionPassword": "password", 
            "hive.exec.max.created.files": "100000", 
            "hive.default.fileformat.managed": "TextFile", 
            "hive.map.aggr.hash.min.reduction": "0.5", 
            "hive.orc.splits.include.file.footer": "false", 
            "hive.exec.pre.hooks": "org.apache.hadoop.hive.ql.hooks.ATSHook", 
            "hive.merge.orcfile.stripe.level": "true", 
            "hive.exec.orc.default.compress": "ZLIB", 
            "hive.server2.allow.user.substitution": "true", 
            "hive.exec.orc.encoding.strategy": "SPEED", 
            "hive.metastore.connect.retries": "24", 
            "hive.metastore.server.max.threads": "100000", 
            "hive.exec.orc.compression.strategy": "SPEED", 
            "hive.optimize.reducededuplication.min.reducer": "4", 
            "hive.metastore.uris": "thrift://c6402.ambari.apache.org:9083", 
            "hive.enforce.sortmergebucketmapjoin": "true", 
            "hive.auto.convert.join.noconditionaltask.size": "59419306", 
            "javax.jdo.option.ConnectionUserName": "hive", 
            "hive.tez.log.level": "INFO", 
            "hive.compactor.delta.num.threshold": "10", 
            "hive.exec.dynamic.partition": "true", 
            "hive.server2.authentication": "NONE", 
            "hive.exec.compress.intermediate": "false", 
            "hive.orc.compute.splits.num.threads": "10", 
            "hive.tez.smb.number.waves": "0.5", 
            "hive.convert.join.bucket.mapjoin.tez": "false", 
            "hive.metastore.schema.verification": "true", 
            "hive.server2.logging.operation.log.location": "/tmp/hive/operation_logs", 
            "hive.tez.input.format": "org.apache.hadoop.hive.ql.io.HiveInputFormat", 
            "hive.exec.failure.hooks": "org.apache.hadoop.hive.ql.hooks.ATSHook", 
            "hive.support.concurrency": "false", 
            "hive.compactor.check.interval": "300L", 
            "hive.compactor.delta.pct.threshold": "0.1f"
        }, 
        "hive-exec-log4j": {
            "content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# Define some default values that can be overridden by system properties\n\nhive.log.threshold=ALL\nhive.root.logger=INFO,FA\nhive.log.dir=${java.io.tmpdir}/${user.name}\nhive.query.id=hadoop\nhive.log.file=${hive.query.id}.log\n\n# Define the root logger to the system property \"hadoop.root.logger\".\nlog4j.rootLogger=${hive.root.logger}, EventCounter\n\n# Logging Threshold\nlog4j.threshhold=${hive.log.threshold}\n\n#\n# File Appender\n#\n\nlog4j.appender.FA=org.apache.log4j.FileAppender\nlog4j.appender.FA.File=${hive.log.dir}/${hive.log.file}\nlog4j.appender.FA.layout=org.apache.log4j.PatternLayout\n\n# Pattern format: Date LogLevel LoggerName LogMessage\n#log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n\n# Debugging Pattern format\nlog4j.appender.FA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n\n\n\n#\n# console\n# Add \"console\" to rootlogger above if you want to use this\n#\n\nlog4j.appender.console=org.apache.log4j.ConsoleAppender\nlog4j.appender.console.target=System.err\nlog4j.appender.console.layout=org.apache.log4j.PatternLayout\nlog4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n\n\n#custom logging levels\n#log4j.logger.xxx=DEBUG\n\n#\n# Event Counter Appender\n# Sends counts of logging messages at different severity levels to Hadoop Metrics.\n#\nlog4j.appender.EventCounter=org.apache.hadoop.hive.shims.HiveEventCounter\n\n\nlog4j.category.DataNucleus=ERROR,FA\nlog4j.category.Datastore=ERROR,FA\nlog4j.category.Datastore.Schema=ERROR,FA\nlog4j.category.JPOX.Datastore=ERROR,FA\nlog4j.category.JPOX.Plugin=ERROR,FA\nlog4j.category.JPOX.MetaData=ERROR,FA\nlog4j.category.JPOX.Query=ERROR,FA\nlog4j.category.JPOX.General=ERROR,FA\nlog4j.category.JPOX.Enhancer=ERROR,FA\n\n\n# Silence useless ZK logs\nlog4j.logger.org.apache.zookeeper.server.NIOServerCnxn=WARN,FA\nlog4j.logger.org.apache.zookeeper.ClientCnxnSocketNIO=WARN,FA"
        }, 
        "hadoop-env": {
            "namenode_opt_maxnewsize": "128m", 
            "hadoop_root_logger": "INFO,RFA", 
            "hdfs_log_dir_prefix": "/var/log/hadoop", 
            "keyserver_host": " ", 
            "namenode_heapsize": "1024m", 
            "hadoop_pid_dir_prefix": "/var/run/hadoop", 
            "proxyuser_group": "users", 
            "namenode_opt_maxpermsize": "256m", 
            "content": "\n# Set Hadoop-specific environment variables here.\n\n# The only required environment variable is JAVA_HOME.  All others are\n# optional.  When running a distributed configuration it is best to\n# set JAVA_HOME in this file, so that it is correctly defined on\n# remote nodes.\n\n# The java implementation to use.  Required.\nexport JAVA_HOME={{java_home}}\nexport HADOOP_HOME_WARN_SUPPRESS=1\n\n# Hadoop home directory\nexport HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\n# Hadoop Configuration Directory\n\n{# this is different for HDP1 #}\n# Path to jsvc required by secure HDP 2.0 datanode\nexport JSVC_HOME={{jsvc_path}}\n\n\n# The maximum amount of heap to use, in MB. Default is 1000.\nexport HADOOP_HEAPSIZE=\"{{hadoop_heapsize}}\"\n\nexport HADOOP_NAMENODE_INIT_HEAPSIZE=\"-Xms{{namenode_heapsize}}\"\n\n# Extra Java runtime options.  Empty by default.\nexport HADOOP_OPTS=\"-Djava.net.preferIPv4Stack=true ${HADOOP_OPTS}\"\n\n# Command specific options appended to HADOOP_OPTS when specified\nHADOOP_JOBTRACKER_OPTS=\"-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile={{hdfs_log_dir_prefix}}/$USER/hs_err_pid%p.log -XX:NewSize={{jtnode_opt_newsize}} -XX:MaxNewSize={{jtnode_opt_maxnewsize}} -Xloggc:{{hdfs_log_dir_prefix}}/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xmx{{jtnode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dmapred.audit.logger=INFO,MRAUDIT -Dhadoop.mapreduce.jobsummary.logger=INFO,JSA ${HADOOP_JOBTRACKER_OPTS}\"\n\nHADOOP_TASKTRACKER_OPTS=\"-server -Xmx{{ttnode_heapsize}} -Dhadoop.security.logger=ERROR,console -Dmapred.audit.logger=ERROR,console ${HADOOP_TASKTRACKER_OPTS}\"\n\n{% if java_version < 8 %}\nSHARED_HADOOP_NAMENODE_OPTS=\"-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile={{hdfs_log_dir_prefix}}/$USER/hs_err_pid%p.log -XX:NewSize={{namenode_opt_newsize}} -XX:MaxNewSize={{namenode_opt_maxnewsize}} -XX:PermSize={{namenode_opt_permsize}} -XX:MaxPermSize={{namenode_opt_maxpermsize}} -Xloggc:{{hdfs_log_dir_prefix}}/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xms{{namenode_heapsize}} -Xmx{{namenode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT\"\nexport HADOOP_NAMENODE_OPTS=\"${SHARED_HADOOP_NAMENODE_OPTS} -XX:OnOutOfMemoryError=\\\"/usr/hdp/current/hadoop-hdfs-namenode/bin/kill-name-node\\\" -Dorg.mortbay.jetty.Request.maxFormContentSize=-1 ${HADOOP_NAMENODE_OPTS}\"\nexport HADOOP_DATANODE_OPTS=\"-server -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/hadoop/$USER/hs_err_pid%p.log -XX:NewSize=200m -XX:MaxNewSize=200m -XX:PermSize=128m -XX:MaxPermSize=256m -Xloggc:/var/log/hadoop/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xms{{dtnode_heapsize}} -Xmx{{dtnode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT ${HADOOP_DATANODE_OPTS}\"\n\nexport HADOOP_SECONDARYNAMENODE_OPTS=\"${SHARED_HADOOP_NAMENODE_OPTS} -XX:OnOutOfMemoryError=\\\"/usr/hdp/current/hadoop-hdfs-secondarynamenode/bin/kill-secondary-name-node\\\" ${HADOOP_SECONDARYNAMENODE_OPTS}\"\n\n# The following applies to multiple commands (fs, dfs, fsck, distcp etc)\nexport HADOOP_CLIENT_OPTS=\"-Xmx${HADOOP_HEAPSIZE}m -XX:MaxPermSize=512m $HADOOP_CLIENT_OPTS\"\n\n{% else %}\nSHARED_HADOOP_NAMENODE_OPTS=\"-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile={{hdfs_log_dir_prefix}}/$USER/hs_err_pid%p.log -XX:NewSize={{namenode_opt_newsize}} -XX:MaxNewSize={{namenode_opt_maxnewsize}} -Xloggc:{{hdfs_log_dir_prefix}}/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xms{{namenode_heapsize}} -Xmx{{namenode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT\"\nexport HADOOP_NAMENODE_OPTS=\"${SHARED_HADOOP_NAMENODE_OPTS} -XX:OnOutOfMemoryError=\\\"/usr/hdp/current/hadoop-hdfs-namenode/bin/kill-name-node\\\" -Dorg.mortbay.jetty.Request.maxFormContentSize=-1 ${HADOOP_NAMENODE_OPTS}\"\nexport HADOOP_DATANODE_OPTS=\"-server -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/hadoop/$USER/hs_err_pid%p.log -XX:NewSize=200m -XX:MaxNewSize=200m -Xloggc:/var/log/hadoop/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xms{{dtnode_heapsize}} -Xmx{{dtnode_heapsize}} -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT ${HADOOP_DATANODE_OPTS}\"\n\nexport HADOOP_SECONDARYNAMENODE_OPTS=\"${SHARED_HADOOP_NAMENODE_OPTS} -XX:OnOutOfMemoryError=\\\"/usr/hdp/current/hadoop-hdfs-secondarynamenode/bin/kill-secondary-name-node\\\" ${HADOOP_SECONDARYNAMENODE_OPTS}\"\n\n# The following applies to multiple commands (fs, dfs, fsck, distcp etc)\nexport HADOOP_CLIENT_OPTS=\"-Xmx${HADOOP_HEAPSIZE}m $HADOOP_CLIENT_OPTS\"\n{% endif %}\n\nHADOOP_NFS3_OPTS=\"-Xmx{{nfsgateway_heapsize}}m -Dhadoop.security.logger=ERROR,DRFAS ${HADOOP_NFS3_OPTS}\"\nHADOOP_BALANCER_OPTS=\"-server -Xmx{{hadoop_heapsize}}m ${HADOOP_BALANCER_OPTS}\"\n\n\n# On secure datanodes, user to run the datanode as after dropping privileges\nexport HADOOP_SECURE_DN_USER=${HADOOP_SECURE_DN_USER:-{{hadoop_secure_dn_user}}}\n\n# Extra ssh options.  Empty by default.\nexport HADOOP_SSH_OPTS=\"-o ConnectTimeout=5 -o SendEnv=HADOOP_CONF_DIR\"\n\n# Where log files are stored.  $HADOOP_HOME/logs by default.\nexport HADOOP_LOG_DIR={{hdfs_log_dir_prefix}}/$USER\n\n# History server logs\nexport HADOOP_MAPRED_LOG_DIR={{mapred_log_dir_prefix}}/$USER\n\n# Where log files are stored in the secure data environment.\nexport HADOOP_SECURE_DN_LOG_DIR={{hdfs_log_dir_prefix}}/$HADOOP_SECURE_DN_USER\n\n# File naming remote slave hosts.  $HADOOP_HOME/conf/slaves by default.\n# export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves\n\n# host:path where hadoop code should be rsync'd from.  Unset by default.\n# export HADOOP_MASTER=master:/home/$USER/src/hadoop\n\n# Seconds to sleep between slave commands.  Unset by default.  This\n# can be useful in large clusters, where, e.g., slave rsyncs can\n# otherwise arrive faster than the master can service them.\n# export HADOOP_SLAVE_SLEEP=0.1\n\n# The directory where pid files are stored. /tmp by default.\nexport HADOOP_PID_DIR={{hadoop_pid_dir_prefix}}/$USER\nexport HADOOP_SECURE_DN_PID_DIR={{hadoop_pid_dir_prefix}}/$HADOOP_SECURE_DN_USER\n\n# History server pid\nexport HADOOP_MAPRED_PID_DIR={{mapred_pid_dir_prefix}}/$USER\n\nYARN_RESOURCEMANAGER_OPTS=\"-Dyarn.server.resourcemanager.appsummary.logger=INFO,RMSUMMARY\"\n\n# A string representing this instance of hadoop. $USER by default.\nexport HADOOP_IDENT_STRING=$USER\n\n# The scheduling priority for daemon processes.  See 'man nice'.\n\n# export HADOOP_NICENESS=10\n\n# Add database libraries\nJAVA_JDBC_LIBS=\"\"\nif [ -d \"/usr/share/java\" ]; then\n  for jarFile in `ls /usr/share/java | grep -E \"(mysql|ojdbc|postgresql|sqljdbc)\" 2>/dev/null`\n  do\n    JAVA_JDBC_LIBS=${JAVA_JDBC_LIBS}:$jarFile\n  done\nfi\n\n# Add libraries to the hadoop classpath - some may not need a colon as they already include it\nexport HADOOP_CLASSPATH=${HADOOP_CLASSPATH}${JAVA_JDBC_LIBS}\n\n# Setting path to hdfs command line\nexport HADOOP_LIBEXEC_DIR={{hadoop_libexec_dir}}\n\n# Mostly required for hadoop 2.0\nexport JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}\n\nexport HADOOP_OPTS=\"-Dhdp.version=$HDP_VERSION $HADOOP_OPTS\"\n\n{% if is_datanode_max_locked_memory_set %}\n# Fix temporary bug, when ulimit from conf files is not picked up, without full relogin. \n# Makes sense to fix only when runing DN as root \nif [ \"$command\" == \"datanode\" ] && [ \"$EUID\" -eq 0 ] && [ -n \"$HADOOP_SECURE_DN_USER\" ]; then\n  ulimit -l {{datanode_max_locked_memory}}\nfi\n{% endif %}", 
            "hdfs_user": "hdfs", 
            "hdfs_user_nproc_limit": "65536", 
            "namenode_opt_newsize": "128m", 
            "nfsgateway_heapsize": "1024", 
            "dtnode_heapsize": "1024m", 
            "keyserver_port": "", 
            "hadoop_heapsize": "1024", 
            "hdfs_user_nofile_limit": "128000", 
            "namenode_opt_permsize": "128m"
        }, 
        "webhcat-site": {
            "templeton.hive.properties": "hive.metastore.local=false,hive.metastore.uris=thrift://c6402.ambari.apache.org:9083,hive.metastore.sasl.enabled=false,hive.metastore.execute.setugi=true", 
            "templeton.hadoop.conf.dir": "/etc/hadoop/conf", 
            "templeton.port": "50111", 
            "templeton.hive.home": "hive.tar.gz/hive", 
            "templeton.libjars": "/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar", 
            "templeton.exec.timeout": "60000", 
            "templeton.hcat.home": "hive.tar.gz/hive/hcatalog", 
            "templeton.sqoop.home": "sqoop.tar.gz/sqoop", 
            "templeton.python": "${env.PYTHON_CMD}", 
            "templeton.sqoop.archive": "hdfs:///hdp/apps/${hdp.version}/sqoop/sqoop.tar.gz", 
            "templeton.hcat": "/usr/hdp/${hdp.version}/hive/bin/hcat", 
            "templeton.hadoop": "/usr/hdp/${hdp.version}/hadoop/bin/hadoop", 
            "templeton.override.enabled": "false", 
            "templeton.jar": "/usr/hdp/${hdp.version}/hive/share/webhcat/svr/lib/hive-webhcat-*.jar", 
            "templeton.storage.class": "org.apache.hive.hcatalog.templeton.tool.ZooKeeperStorage", 
            "templeton.hive.extra.files": "/usr/hdp/${hdp.version}/tez/conf/tez-site.xml,/usr/hdp/${hdp.version}/tez,/usr/hdp/${hdp.version}/tez/lib", 
            "templeton.hive.path": "hive.tar.gz/hive/bin/hive", 
            "templeton.pig.path": "pig.tar.gz/pig/bin/pig", 
            "templeton.sqoop.path": "sqoop.tar.gz/sqoop/bin/sqoop", 
            "templeton.zookeeper.hosts": "c6403.ambari.apache.org:2181,c6401.ambari.apache.org:2181,c6402.ambari.apache.org:2181", 
            "templeton.hive.archive": "hdfs:///hdp/apps/${hdp.version}/hive/hive.tar.gz", 
            "templeton.streaming.jar": "hdfs:///hdp/apps/${hdp.version}/mapreduce/hadoop-streaming.jar", 
            "templeton.pig.archive": "hdfs:///hdp/apps/${hdp.version}/pig/pig.tar.gz"
        }, 
        "ranger-hdfs-security": {}, 
        "hiveserver2-site": {
            "hive.security.authorization.enabled": "false"
        }, 
        "cluster-env": {
            "security_enabled": "false", 
            "smokeuser_keytab": "/etc/security/keytabs/smokeuser.headless.keytab", 
            "ignore_groupsusers_create": "false", 
            "override_uid": "true", 
            "kerberos_domain": "EXAMPLE.COM", 
            "repo_suse_rhel_template": "[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0", 
            "user_group": "hadoop", 
            "smokeuser": "ambari-qa", 
            "repo_ubuntu_template": "{{package_type}} {{base_url}} {{components}}"
        }
    }, 
    "commandId": "9-36", 
    "forceRefreshConfigTags": [], 
    "clusterHostInfo": {
        "hive_metastore_host": [
            "c6402.ambari.apache.org"
        ], 
        "rm_host": [
            "c6402.ambari.apache.org"
        ], 
        "all_hosts": [
            "c6403.ambari.apache.org", 
            "c6401.ambari.apache.org", 
            "c6402.ambari.apache.org"
        ], 
        "slave_hosts": [
            "c6403.ambari.apache.org"
        ], 
        "namenode_host": [
            "c6401.ambari.apache.org"
        ], 
        "hive_mysql_host": [
            "c6402.ambari.apache.org"
        ], 
        "webhcat_server_host": [
            "c6402.ambari.apache.org"
        ], 
        "all_ipv4_ips": [
            "192.168.64.103", 
            "192.168.64.101", 
            "192.168.64.102"
        ], 
        "ambari_server_host": [
            "10.0.0.13"
        ], 
        "hive_server_host": [
            "c6402.ambari.apache.org"
        ], 
        "all_racks": [
            "/default-rack", 
            "/default-rack", 
            "/default-rack"
        ]
    }
}