File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,8 @@ hadoop::common::tez_jars: "/usr/lib/tez"
180
180
181
181
# to enable tez in hive, uncomment the lines below
182
182
# hadoop_hive::common_config::hive_execution_engine: "tez"
183
+ # hadoop_hive::common_config::hive_tez_container_size: 1024
184
+ # hadoop_hive::common_config::hive_tez_cpu_vcores: 1
183
185
184
186
# kafka
185
187
kafka::server::port : " 9092"
Original file line number Diff line number Diff line change 45
45
}
46
46
}
47
47
48
- class common_config ($hbase_master = " " ,
48
+ class common_config ($hive_tez_container_size = undef ,
49
+ $hive_tez_cpu_vcores = undef ,
50
+ $hbase_master = " " ,
49
51
$hbase_zookeeper_quorum = " " ,
50
52
$hive_zookeeper_quorum = " " ,
51
53
$hive_support_concurrency = false ,
Original file line number Diff line number Diff line change 26
26
27
27
<!-- Hive Execution Parameters -->
28
28
29
+ <% if @hive_tez_container_size %>
30
+ <property >
31
+ <name >hive.tez.container.size</name >
32
+ <value ><%= @hive_tez_container_size %> </value >
33
+ </property >
34
+ <% end %>
35
+
36
+ <% if @hive_tez_cpu_vcores %>
37
+ <property >
38
+ <name >hive.tez.cpu.vcores</name >
39
+ <value ><%= @hive_tez_cpu_vcores %> </value >
40
+ </property >
41
+ <% end %>
42
+
29
43
<% if @hbase_master != " " %>
30
44
<property >
31
45
<name >hbase.master</name >
You can’t perform that action at this time.
0 commit comments