-
Notifications
You must be signed in to change notification settings - Fork 2
/
hive-site.xml
110 lines (92 loc) · 3.22 KB
/
hive-site.xml
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
<configuration>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore_db;create=true</value>
<description>JDBC connect string for a JDBC metastore</description>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
<description>Driver class name for a JDBC metastore</description>
</property>
<property>
<name>hive.metastore.uris</name>
<value>thrift://localhost:9083</value>
</property>
<property>
<name>hive.metastore.event.db.notification.api.auth</name>
<value>false</value>
</property>
<property>
<name>hive.server2.transport.mode</name>
<value>BINARY</value>
<description>Sets transport mode to binary.</description>
</property>
<property>
<name>hive.execution.engine</name>
<value>tez</value>
<description>Enable TEZ instead of MR.</description>
</property>
<property>
<name>hive.txn.manager</name>
<value>org.apache.hadoop.hive.ql.lockmgr.DbTxnManager</value>
<description>Enable TEZ instead of MR.</description>
</property>
<property>
<name>hive.support.concurrency</name>
<value>true</value>
<description>Enable Locks and ACID</description>
</property>
<property>
<name>hive.exec.dynamic.partition.mode</name>
<value>nonstrict</value>
<description>Enable Dynamic Partitions</description>
</property>
<property>
<name>hive.tez.container.size</name>
<value>3276</value>
<description>Set Hive Container Size to 80% of Hive Heap Size</description>
</property>
<property>
<name>hive.user.install.directory</name>
<value>/user/hive/</value>
<description>Set Hive User Directory</description>
</property>
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/data/</value>
<description>Set Hive Data Directory</description>
</property>
<property>
<name>hive.compactor.worker.threads</name>
<value>1</value>
<description>Enable Compactions</description>
</property>
<property>
<name>hive.compactor.initiator.on</name>
<value>true</value>
<description>Enable Compactions</description>
</property>
<property>
<name>hive.server2.thrift.max.worker.threads</name>
<value>5</value>
<description>Set Maximum Number of Worker Threads</description>
</property>
<property>
<name>tez.grouping.split-count</name>
<value>1</value>
<description>In local mode you can only run one thread at a time anyway.</description>
</property>
<property>
<name>mapreduce.framework.name</name>
<value>local</value>
</property>
<property>
<name>tez.lib.uris</name>
<value>/usr/hdp/current/tez-client/lib/tez.tar.gz</value>
</property>
<property>
<name>mapreduce.application.framework.path</name>
<value>/usr/hdp/current/hadoop-client/mapreduce.tar.gz</value>
</property>
</configuration>