cloudbox-server 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +3 -0
- data/README.md +17 -0
- data/bin/cb-cluster-allocate +5 -0
- data/bin/cb-cluster-create +5 -0
- data/bin/cb-cluster-delete +5 -0
- data/bin/cb-cluster-desallocate +5 -0
- data/bin/cb-cluster-info +5 -0
- data/bin/cb-cluster-ls +5 -0
- data/bin/cb-node-destroy +5 -0
- data/bin/cb-node-detach +6 -0
- data/bin/cb-node-info +5 -0
- data/bin/cb-node-install +5 -0
- data/bin/cb-node-ls +5 -0
- data/bin/cb-service-add +5 -0
- data/bin/cb-service-component-add +5 -0
- data/bin/cb-service-component-delete +5 -0
- data/bin/cb-service-component-detach +5 -0
- data/bin/cb-service-conf-apply +5 -0
- data/bin/cb-service-conf-create +5 -0
- data/bin/cb-service-conf-get +5 -0
- data/bin/cb-service-conf-ls +5 -0
- data/bin/cb-service-follow-request +5 -0
- data/bin/cb-service-info +5 -0
- data/bin/cb-service-install +5 -0
- data/bin/cb-service-ls +5 -0
- data/bin/cb-service-start +5 -0
- data/bin/cb-service-stop +5 -0
- data/lib/command.rb +61 -0
- data/lib/command/ambari_add_host.rb +19 -0
- data/lib/command/ambari_cluster_command.rb +26 -0
- data/lib/command/ambari_cluster_component_command.rb +26 -0
- data/lib/command/ambari_cluster_component_host_command.rb +26 -0
- data/lib/command/ambari_cluster_create.rb +19 -0
- data/lib/command/ambari_cluster_host_command.rb +27 -0
- data/lib/command/ambari_cluster_list.rb +20 -0
- data/lib/command/ambari_cluster_service_command.rb +26 -0
- data/lib/command/ambari_cluster_service_host_command.rb +26 -0
- data/lib/command/ambari_command.rb +21 -0
- data/lib/command/ambari_create_cluster_configuration.rb +39 -0
- data/lib/command/ambari_get_cluster_configuration.rb +29 -0
- data/lib/command/ambari_host_list.rb +19 -0
- data/lib/command/ambari_install_cluster.rb +19 -0
- data/lib/command/ambari_install_component.rb +19 -0
- data/lib/command/ambari_install_host.rb +19 -0
- data/lib/command/ambari_install_host_component.rb +19 -0
- data/lib/command/ambari_install_host_components.rb +19 -0
- data/lib/command/ambari_install_service_components.rb +19 -0
- data/lib/command/ambari_service_add.rb +27 -0
- data/lib/command/ambari_service_component_add.rb +21 -0
- data/lib/command/ambari_service_component_delete.rb +21 -0
- data/lib/command/ambari_service_component_detach.rb +21 -0
- data/lib/command/ambari_service_component_info.rb +29 -0
- data/lib/command/ambari_service_conf_apply.rb +31 -0
- data/lib/command/ambari_service_conf_ls.rb +30 -0
- data/lib/command/ambari_service_delete.rb +21 -0
- data/lib/command/ambari_service_info.rb +20 -0
- data/lib/command/ambari_service_list.rb +21 -0
- data/lib/command/ambari_start_cluster.rb +19 -0
- data/lib/command/ambari_start_component.rb +19 -0
- data/lib/command/ambari_start_host.rb +19 -0
- data/lib/command/ambari_start_host_component.rb +19 -0
- data/lib/command/ambari_start_host_components.rb +19 -0
- data/lib/command/ambari_start_service_components.rb +19 -0
- data/lib/command/ambari_stop_cluster.rb +19 -0
- data/lib/command/ambari_stop_component.rb +19 -0
- data/lib/command/ambari_stop_host.rb +19 -0
- data/lib/command/ambari_stop_host_component.rb +19 -0
- data/lib/command/ambari_stop_host_components.rb +19 -0
- data/lib/command/ambari_stop_service_components.rb +19 -0
- data/lib/command/basic_command.rb +44 -0
- data/lib/command/cluster_create.rb +50 -0
- data/lib/command/cluster_delete.rb +30 -0
- data/lib/command/cluster_info.rb +30 -0
- data/lib/command/cluster_ls.rb +30 -0
- data/lib/command/crowbar_cluster_allocate.rb +42 -0
- data/lib/command/crowbar_command.rb +30 -0
- data/lib/command/crowbar_get_barclamps_list.rb +30 -0
- data/lib/command/crowbar_node_command.rb +21 -0
- data/lib/command/crowbar_node_list.rb +40 -0
- data/lib/command/crowbar_vcluster_command.rb +20 -0
- data/lib/command/filter.rb +15 -0
- data/lib/command/node_destroy.rb +58 -0
- data/lib/command/node_detach.rb +44 -0
- data/lib/command/node_info.rb +27 -0
- data/lib/command/node_install.rb +46 -0
- data/lib/command/node_reinstall.rb +44 -0
- data/lib/command/state_filter.rb +16 -0
- data/lib/common.rb +11 -0
- data/lib/common/cb-lib-node-erase-hard-disk.sh +29 -0
- data/lib/common/cloudbox_exceptions.rb +631 -0
- data/lib/common/cloudbox_logger.rb +81 -0
- data/lib/common/cloudbox_logger_mock.rb +43 -0
- data/lib/common/color.rb +267 -0
- data/lib/common/config_properties.rb +2027 -0
- data/lib/common/services_description.rb +192 -0
- data/lib/exec.rb +35 -0
- data/lib/exec/check_parameter.rb +208 -0
- data/lib/exec/cluster_allocate.rb +163 -0
- data/lib/exec/cluster_create.rb +99 -0
- data/lib/exec/cluster_delete.rb +38 -0
- data/lib/exec/cluster_desallocate.rb +37 -0
- data/lib/exec/cluster_info.rb +177 -0
- data/lib/exec/cluster_ls.rb +150 -0
- data/lib/exec/command_option.rb +222 -0
- data/lib/exec/executable_command.rb +194 -0
- data/lib/exec/node_destroy.rb +101 -0
- data/lib/exec/node_detach.rb +98 -0
- data/lib/exec/node_info.rb +280 -0
- data/lib/exec/node_install.rb +234 -0
- data/lib/exec/node_ls.rb +160 -0
- data/lib/exec/service_add.rb +224 -0
- data/lib/exec/service_component_add.rb +39 -0
- data/lib/exec/service_component_delete.rb +37 -0
- data/lib/exec/service_component_detach.rb +37 -0
- data/lib/exec/service_conf_apply.rb +57 -0
- data/lib/exec/service_conf_create.rb +80 -0
- data/lib/exec/service_conf_get.rb +165 -0
- data/lib/exec/service_conf_ls.rb +103 -0
- data/lib/exec/service_follow_request.rb +49 -0
- data/lib/exec/service_info.rb +346 -0
- data/lib/exec/service_install.rb +87 -0
- data/lib/exec/service_ls.rb +124 -0
- data/lib/exec/service_start.rb +110 -0
- data/lib/exec/service_stop.rb +112 -0
- data/lib/receiver.rb +14 -0
- data/lib/receiver/ambari_receiver.rb +812 -0
- data/lib/receiver/ambari_rest_api_connector.rb +599 -0
- data/lib/receiver/basic_receiver.rb +28 -0
- data/lib/receiver/connector.rb +28 -0
- data/lib/receiver/crowbar_receiver.rb +588 -0
- data/lib/receiver/crowbar_rest_api_connector.rb +518 -0
- data/lib/receiver/crowbar_shell_api.rb +643 -0
- data/lib/receiver/rest_api_connector.rb +275 -0
- data/resources/ambari-configurations/HBASE/default_hbase-site +33 -0
- data/resources/ambari-configurations/HDFS/default_hdfs-site +49 -0
- data/resources/ambari-configurations/HIVE/default_hive-site +33 -0
- data/resources/ambari-configurations/MAPREDUCE/default_mapred-site +72 -0
- data/resources/ambari-configurations/OOZIE/default_oozie-site +28 -0
- data/resources/ambari-configurations/WEBHCAT/default_webhcat-site +18 -0
- data/resources/ambari-configurations/ZOOKEEPER/default_zookeeper-site +8 -0
- data/resources/ambari-configurations/default_core-site +22 -0
- data/resources/ambari-configurations/default_global +141 -0
- data/resources/cloudbox-server.conf +10 -0
- data/spec/common/services_description.rb +130 -0
- data/spec/exec/check_parameter.rb +152 -0
- data/spec/exec/command_option_spec.rb +97 -0
- metadata +328 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
# This script is an helper to log cloudbox scripts
|
2
|
+
# Author: Thibaut Marmin<tmamin@cyres.fr>(INGENSI)
|
3
|
+
|
4
|
+
require 'logger'
|
5
|
+
|
6
|
+
|
7
|
+
module Common
|
8
|
+
|
9
|
+
# Helper class to log cloudbox project
|
10
|
+
class CloudboxLogger < Logger
|
11
|
+
|
12
|
+
public
|
13
|
+
# Path where logging is done.
|
14
|
+
attr_reader :path
|
15
|
+
# Filename of log file.
|
16
|
+
attr_reader :filename
|
17
|
+
|
18
|
+
public
|
19
|
+
# Default constructor.
|
20
|
+
# @param filename [String] The filename without extension.
|
21
|
+
# @param path [String] Directory where to log.
|
22
|
+
def initialize(filename, path='/var/log/cloudbox')
|
23
|
+
@path = Pathname.new(path)
|
24
|
+
@path.mkpath if !@path.exist?
|
25
|
+
# @todo Make the level of logging configurable in a conf file
|
26
|
+
level = Logger::DEBUG
|
27
|
+
@path = Pathname.new(path + "/" + filename + ".log")
|
28
|
+
@filename = filename
|
29
|
+
super(@path, "monthly", 100 * 1024 * 1024)
|
30
|
+
end
|
31
|
+
|
32
|
+
public
|
33
|
+
# Format the beginning of a command execution.
|
34
|
+
# @param params [Array] The ARGV array which store all passed argument.
|
35
|
+
def begin_execution(params=nil)
|
36
|
+
self.info("############# new execution: #{@filename} #############")
|
37
|
+
if !params.nil?
|
38
|
+
self.info "Argv:"
|
39
|
+
params.each do |arg|
|
40
|
+
self.info " - #{arg}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
public
|
46
|
+
# Format the end of a command execution.
|
47
|
+
def end_execution
|
48
|
+
self.info("############# end of execution #{@filename} #############")
|
49
|
+
end
|
50
|
+
|
51
|
+
public
|
52
|
+
# Format the beginning of a main step.
|
53
|
+
# @param str [String] Main step name.
|
54
|
+
def begin_main_step(str)
|
55
|
+
self.info("#### Main step: #{str}")
|
56
|
+
end
|
57
|
+
|
58
|
+
public
|
59
|
+
# Format the end of a main step.
|
60
|
+
# @param str [String] Main step name.
|
61
|
+
def end_main_step(str)
|
62
|
+
self.info("#### End of step #{str}")
|
63
|
+
end
|
64
|
+
|
65
|
+
public
|
66
|
+
# Allows to log an http request.
|
67
|
+
# @param http [Net::HTTP] The HTTP request.
|
68
|
+
def log_http(http)
|
69
|
+
if http.instance_of?(Net::HTTP)
|
70
|
+
self.debug("logging http request")
|
71
|
+
http.set_debug_output(self)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
public
|
76
|
+
# @return a short string which informs where is located log file
|
77
|
+
def logging_info
|
78
|
+
return "You can see log file at '#{@path}'"
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
# This script is an helper to log cloudbox scripts
|
4
|
+
# IT IS A MOCK, USES TO MOCK LOGGER WHEN THE TRUE OBJECT INSTANTIATION BUGGED
|
5
|
+
# Author: Thibaut Marmin<tmamin@cyres.fr>(INGENSI)
|
6
|
+
|
7
|
+
require 'common/cloudbox_logger'
|
8
|
+
|
9
|
+
module Common
|
10
|
+
# The logger class mock
|
11
|
+
class CloudboxLoggerMock < CloudboxLogger
|
12
|
+
|
13
|
+
public
|
14
|
+
# Default constructor of the class.
|
15
|
+
# @note Overrides default constructor by passing CustomCommandOption to super().
|
16
|
+
def initialize
|
17
|
+
end
|
18
|
+
|
19
|
+
# Display information message in a log file
|
20
|
+
def info(msg)
|
21
|
+
end
|
22
|
+
|
23
|
+
# Display unknown message in a log file
|
24
|
+
def unknown(msg)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Display fatal message in a log file
|
28
|
+
def fatal(msg)
|
29
|
+
end
|
30
|
+
|
31
|
+
# Display error message in a log file
|
32
|
+
def error(msg)
|
33
|
+
end
|
34
|
+
|
35
|
+
# Display warning message in a log file
|
36
|
+
def warn(msg)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Display debug message in a log file
|
40
|
+
def debug(msg)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/lib/common/color.rb
ADDED
@@ -0,0 +1,267 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
# This file is part of cloudbox-service project
|
4
|
+
# @author tmarmin (INGENSI)
|
5
|
+
|
6
|
+
module Common
|
7
|
+
# Module which allows to color the text in teh bash screen
|
8
|
+
# @author tmarmin (INGENSI)
|
9
|
+
module Color
|
10
|
+
# Print a color text.
|
11
|
+
# @param text The text to color.
|
12
|
+
# @param color The color.
|
13
|
+
# @param bold Precise if we want to set the text in bold.
|
14
|
+
# @param stdout The output standard.
|
15
|
+
# @author tmarmin
|
16
|
+
def printf_color(text, color, bold, stdout = STDOUT)
|
17
|
+
# set bold
|
18
|
+
if bold == nil || bold == false || bold == 0
|
19
|
+
bold=0
|
20
|
+
else
|
21
|
+
bold=1
|
22
|
+
end
|
23
|
+
|
24
|
+
stdout.printf("\033[%d;%dm%s\033[0m", bold, color, text)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Colorize the text in backgroung.
|
28
|
+
# @param text The text to color.
|
29
|
+
# @param color The color.
|
30
|
+
# @author tmarmin
|
31
|
+
def colorize_background(text, color)
|
32
|
+
return "\033[48;5;#{color}m#{text}\033[0m"
|
33
|
+
end
|
34
|
+
|
35
|
+
# Colorize the text.
|
36
|
+
# @param text The text to color.
|
37
|
+
# @param color The color.
|
38
|
+
# @param bold Precise if we want to set the text in bold.
|
39
|
+
# @author tmarmin
|
40
|
+
def colorize_text(text, color, bold)
|
41
|
+
# set bold
|
42
|
+
if bold == nil || bold == false || bold == 0
|
43
|
+
bold=0
|
44
|
+
else
|
45
|
+
bold=1
|
46
|
+
end
|
47
|
+
return "\033[#{bold};#{color}m#{text}\033[0m"
|
48
|
+
end
|
49
|
+
|
50
|
+
# Print the text in red.
|
51
|
+
# @param text The text to color.
|
52
|
+
# @param bold Precise if we want to set the text in bold.
|
53
|
+
# @param stdout The output standard.
|
54
|
+
# @author tmarmin
|
55
|
+
def printf_red(text, bold=false, stdout = STDOUT)
|
56
|
+
printf_color(text, 31, bold, stdout)
|
57
|
+
end
|
58
|
+
|
59
|
+
# Colorize the text in red.
|
60
|
+
# @param text The text to color.
|
61
|
+
# @param bold Precise if we want to set the text in bold.
|
62
|
+
# @author tmarmin
|
63
|
+
def color_red(text, bold=false)
|
64
|
+
return colorize_text(text, 31, bold)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Print the text in green.
|
68
|
+
# @param text The text to color.
|
69
|
+
# @param bold Precise if we want to set the text in bold.
|
70
|
+
# @param stdout The output standard.
|
71
|
+
# @author tmarmin
|
72
|
+
def printf_green(text, bold=false, stdout = STDOUT)
|
73
|
+
printf_color(text, 32, bold, stdout)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Colorize the text in green.
|
77
|
+
# @param text The text to color.
|
78
|
+
# @param bold Precise if we want to set the text in bold.
|
79
|
+
# @author tmarmin
|
80
|
+
def color_green(text, bold=false)
|
81
|
+
return colorize_text(text, 32, bold)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Print the text in blue.
|
85
|
+
# @param text The text to color.
|
86
|
+
# @param bold Precise if we want to set the text in bold.
|
87
|
+
# @param stdout The output standard.
|
88
|
+
# @author tmarmin
|
89
|
+
def printf_blue(text, bold=false, stdout = STDOUT)
|
90
|
+
printf_color(text, "1;34", bold, stdout)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Colorize the text in blue.
|
94
|
+
# @param text The text to color.
|
95
|
+
# @param bold Precise if we want to set the text in bold.
|
96
|
+
# @author tmarmin
|
97
|
+
def color_blue(text, bold=false)
|
98
|
+
return colorize_text(text, "1;34", bold)
|
99
|
+
end
|
100
|
+
|
101
|
+
# Print the text in white.
|
102
|
+
# @param text The text to color.
|
103
|
+
# @param bold Precise if we want to set the text in bold.
|
104
|
+
# @param stdout The output standard.
|
105
|
+
# @author tmarmin
|
106
|
+
def printf_white(text, bold=false, stdout = STDOUT)
|
107
|
+
printf_color(text, 37, bold, stdout)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Colorize the text in white.
|
111
|
+
# @param text The text to color.
|
112
|
+
# @param bold Precise if we want to set the text in bold.
|
113
|
+
# @author tmarmin
|
114
|
+
def color_white(text, bold=false)
|
115
|
+
return colorize_background(colorize_text(text, 37, bold), 16)
|
116
|
+
end
|
117
|
+
|
118
|
+
# Print the text in normal color.
|
119
|
+
# @param text The text to color.
|
120
|
+
# @param bold Precise if we want to set the text in bold.
|
121
|
+
# @param stdout The output standard.
|
122
|
+
# @author tmarmin
|
123
|
+
def printf_normal(text, bold=false, stdout = STDOUT)
|
124
|
+
printf_color(text, 0, bold, stdout)
|
125
|
+
end
|
126
|
+
|
127
|
+
# Colorize the text in normal color.
|
128
|
+
# @param text The text to color.
|
129
|
+
# @param bold Precise if we want to set the text in bold.
|
130
|
+
# @author tmarmin
|
131
|
+
def color_normal(text, bold=false)
|
132
|
+
return colorize_text(text, 0, bold)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Print the text yellow.
|
136
|
+
# @param text The text to color.
|
137
|
+
# @param bold Precise if we want to set the text in bold.
|
138
|
+
# @param stdout The output standard.
|
139
|
+
# @author tmarmin
|
140
|
+
def printf_yellow(text, bold=false, stdout = STDOUT)
|
141
|
+
printf_color(text, 33, bold, stdout)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Colorize the text in yellow.
|
145
|
+
# @param text The text to color.
|
146
|
+
# @param bold Precise if we want to set the text in bold.
|
147
|
+
# @author tmarmin
|
148
|
+
def color_yellow(text, bold=false)
|
149
|
+
return colorize_text(text, 33, bold)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Echo OK in the bash screen.
|
153
|
+
# @param stdout The output standard.
|
154
|
+
# @author tmarmin
|
155
|
+
def echo_ok(stdout = STDOUT)
|
156
|
+
stdout.print color_white("[ ", true) + color_green("OK") + color_white(" ]\n", true)
|
157
|
+
end
|
158
|
+
|
159
|
+
# Echo FAIL in the bash screen.
|
160
|
+
# @param stdout The output standard.
|
161
|
+
# @author tmarmin
|
162
|
+
def echo_fail(stdout = STDOUT)
|
163
|
+
stdout.print color_white("[ ", true) + color_red("FAIL") + color_white(" ]\n", true)
|
164
|
+
end
|
165
|
+
|
166
|
+
# Echo FAIL in the bash screen.
|
167
|
+
# @param stdout The output standard.
|
168
|
+
# @author tmarmin
|
169
|
+
def echo_warn(stdout = STDOUT)
|
170
|
+
stdout.print color_white("[ ", true) + color_yellow("WARN") + color_white(" ]\n", true)
|
171
|
+
end
|
172
|
+
|
173
|
+
# Print a message in log.
|
174
|
+
# @param msg_type The type of message
|
175
|
+
# @param msg The message to write in log
|
176
|
+
# @param stdout The output standard.
|
177
|
+
# @author tmarmin
|
178
|
+
def print_log(msg_type, msg, stdout = STDOUT)
|
179
|
+
date = "[" + Time.now.strftime("%Y-%m-%d %H:%M:%S") + "] "
|
180
|
+
|
181
|
+
msg_length = date.length + msg.length
|
182
|
+
|
183
|
+
msg = date + msg
|
184
|
+
|
185
|
+
right_margin = 5
|
186
|
+
max_consolelength = 80
|
187
|
+
console_length=`tput cols`
|
188
|
+
if console_length.to_i > max_consolelength
|
189
|
+
console_length = max_consolelength
|
190
|
+
end
|
191
|
+
msg_length = 8 + right_margin + msg_length % console_length.to_i
|
192
|
+
stdout.printf(color_white(msg, 1))
|
193
|
+
printf_normal(align_right(msg_length, console_length), stdout)
|
194
|
+
|
195
|
+
case msg_type
|
196
|
+
when "OK", "ok"
|
197
|
+
echo_ok
|
198
|
+
when "FAIL", "fail"
|
199
|
+
echo_fail
|
200
|
+
when "WARN", "warn"
|
201
|
+
echo_warn
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# Align a message (OK, FAIL, WARN) to the right.
|
206
|
+
# @param length The length to a line of the bash screen
|
207
|
+
# @param console_length The length of the console
|
208
|
+
# @author tmarmin
|
209
|
+
def align_right(length, console_length)
|
210
|
+
nb_spaces_to_print=console_length.to_i - length - 1
|
211
|
+
|
212
|
+
i=0
|
213
|
+
str=""
|
214
|
+
while i < nb_spaces_to_print do
|
215
|
+
str+=" "
|
216
|
+
i+=1
|
217
|
+
end
|
218
|
+
return str
|
219
|
+
end
|
220
|
+
|
221
|
+
# Determines the color depending on the state.
|
222
|
+
# @param state The state
|
223
|
+
# @author tmarmin
|
224
|
+
def which_color(state)
|
225
|
+
case state
|
226
|
+
when "STARTED", "INSTALLED", "COMPLETED"
|
227
|
+
return "green"
|
228
|
+
when "STOPPED", "INSTALL_FAILED", "ABORTED", "FAILED"
|
229
|
+
return "red"
|
230
|
+
else
|
231
|
+
return "yellow"
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# Format the state.
|
236
|
+
# @param state The state
|
237
|
+
# @author tmarmin
|
238
|
+
def format_state(state)
|
239
|
+
case which_color(state)
|
240
|
+
when "green"
|
241
|
+
return color_green(state)
|
242
|
+
when "red"
|
243
|
+
return color_red(state)
|
244
|
+
else
|
245
|
+
return color_yellow(state)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# Format the config.
|
250
|
+
# @param confs The config.
|
251
|
+
# @param prefix The prefix to display.
|
252
|
+
# @author tmarmin
|
253
|
+
def format_configs(confs, prefix="\t")
|
254
|
+
if confs.length > 0
|
255
|
+
output = "\n"
|
256
|
+
confs.each do |confName, confTag|
|
257
|
+
output += prefix + confName.to_s
|
258
|
+
output += "(tag=" + confTag['tag'].to_s + ")" unless confTag['tag'].nil?
|
259
|
+
output += "\n"
|
260
|
+
end
|
261
|
+
else
|
262
|
+
output = prefix + "None\n"
|
263
|
+
end
|
264
|
+
return output
|
265
|
+
end
|
266
|
+
end
|
267
|
+
end
|
@@ -0,0 +1,2027 @@
|
|
1
|
+
module Common
|
2
|
+
module ConfigProperties
|
3
|
+
|
4
|
+
def get_config_properties
|
5
|
+
@config_properties
|
6
|
+
end
|
7
|
+
|
8
|
+
@config_properties = {
|
9
|
+
:hbasemaster_host => {
|
10
|
+
:is_visible => true,
|
11
|
+
:value => "",
|
12
|
+
:domain => "global",
|
13
|
+
:display_name => "HBase Master host",
|
14
|
+
:service_name => "HBASE",
|
15
|
+
:default_value => "",
|
16
|
+
:category => "HBase Master",
|
17
|
+
:description => "The host that has been assigned to run HBase Master",
|
18
|
+
:name => "hbasemaster_host",
|
19
|
+
:id => "puppet var",
|
20
|
+
:display_type => "masterHost"
|
21
|
+
},
|
22
|
+
:regionserver_hosts => {
|
23
|
+
:is_visible => true,
|
24
|
+
:value => "",
|
25
|
+
:domain => "regionserver-global",
|
26
|
+
:display_name => "RegionServer hosts",
|
27
|
+
:service_name => "HBASE",
|
28
|
+
:default_value => "",
|
29
|
+
:category => "RegionServer",
|
30
|
+
:description => "The hosts that have been assigned to run RegionServer",
|
31
|
+
:name => "regionserver_hosts",
|
32
|
+
:is_required => false,
|
33
|
+
:id => "puppet var",
|
34
|
+
:display_type => "slaveHosts"
|
35
|
+
},
|
36
|
+
:hbase_log_dir => {
|
37
|
+
:is_reconfigurable => false,
|
38
|
+
:is_visible => true,
|
39
|
+
:domain => "global",
|
40
|
+
:display_name => "HBase Log Dir",
|
41
|
+
:service_name => "HBASE",
|
42
|
+
:default_value => "/var/log/hbase",
|
43
|
+
:category => "Advanced",
|
44
|
+
:description => "Directory for HBase logs",
|
45
|
+
:name => "hbase_log_dir",
|
46
|
+
:id => "puppet var",
|
47
|
+
:display_type => "directory"
|
48
|
+
},
|
49
|
+
:hbase_pid_dir => {
|
50
|
+
:is_reconfigurable => false,
|
51
|
+
:is_visible => true,
|
52
|
+
:domain => "global",
|
53
|
+
:display_name => "HBase PID Dir",
|
54
|
+
:service_name => "HBASE",
|
55
|
+
:default_value => "/var/run/hbase",
|
56
|
+
:category => "Advanced",
|
57
|
+
:description => "Directory in which the pid files for HBase processes will be created",
|
58
|
+
:name => "hbase_pid_dir",
|
59
|
+
:id => "puppet var",
|
60
|
+
:display_type => "directory"
|
61
|
+
},
|
62
|
+
:hbase_regionserver_heapsize => {
|
63
|
+
:is_visible => true,
|
64
|
+
:unit => "MB",
|
65
|
+
:domain => "regionserver-global",
|
66
|
+
:display_name => "HBase Region Servers maximum Java heap size",
|
67
|
+
:service_name => "HBASE",
|
68
|
+
:default_value => "1024",
|
69
|
+
:category => "RegionServer",
|
70
|
+
:description => "Maximum Java heap size for HBase Region Servers (Java option -Xmx)",
|
71
|
+
:name => "hbase_regionserver_heapsize",
|
72
|
+
:id => "puppet var",
|
73
|
+
:display_type => "int"
|
74
|
+
},
|
75
|
+
:hbase_master_heapsize => {
|
76
|
+
:is_visible => true,
|
77
|
+
:unit => "MB",
|
78
|
+
:domain => "global",
|
79
|
+
:display_name => "HBase Master Maximum Java heap size",
|
80
|
+
:service_name => "HBASE",
|
81
|
+
:default_value => "1024",
|
82
|
+
:category => "HBase Master",
|
83
|
+
:description => "Maximum Java heap size for HBase master (Java option -Xmx)",
|
84
|
+
:name => "hbase_master_heapsize",
|
85
|
+
:id => "puppet var",
|
86
|
+
:display_type => "int"
|
87
|
+
},
|
88
|
+
:hstore_compactionthreshold => {
|
89
|
+
:is_visible => true,
|
90
|
+
:domain => "global",
|
91
|
+
:display_name => "HBase HStore compaction threshold",
|
92
|
+
:service_name => "HBASE",
|
93
|
+
:default_value => "3",
|
94
|
+
:description => "If more than this number of HStoreFiles in any one HStore then a compaction is run to rewrite all HStoreFiles files as one.",
|
95
|
+
:name => "hstore_compactionthreshold",
|
96
|
+
:id => "puppet var",
|
97
|
+
:display_type => "int"
|
98
|
+
},
|
99
|
+
:hfile_blockcache_size => {
|
100
|
+
:is_visible => true,
|
101
|
+
:domain => "global",
|
102
|
+
:display_name => "HFile block cache size ",
|
103
|
+
:service_name => "HBASE",
|
104
|
+
:default_value => "0.25",
|
105
|
+
:description => "Percentage of maximum heap (-Xmx setting) to allocate to block cache used by HFile/StoreFile. Set to 0 to disable but it's not recommended.",
|
106
|
+
:name => "hfile_blockcache_size",
|
107
|
+
:id => "puppet var",
|
108
|
+
:display_type => "float"
|
109
|
+
},
|
110
|
+
:hstorefile_maxsize => {
|
111
|
+
:is_visible => true,
|
112
|
+
:unit => "bytes",
|
113
|
+
:domain => "global",
|
114
|
+
:display_name => "Maximum HStoreFile Size",
|
115
|
+
:service_name => "HBASE",
|
116
|
+
:default_value => "1073741824",
|
117
|
+
:description => "If any one of a column families' HStoreFiles has grown to exceed this value, the hosting HRegion is split in two.",
|
118
|
+
:name => "hstorefile_maxsize",
|
119
|
+
:id => "puppet var",
|
120
|
+
:display_type => "int"
|
121
|
+
},
|
122
|
+
:regionserver_handlers => {
|
123
|
+
:is_visible => true,
|
124
|
+
:domain => "regionserver-global",
|
125
|
+
:display_name => "HBase Region Server Handler",
|
126
|
+
:service_name => "HBASE",
|
127
|
+
:default_value => "30",
|
128
|
+
:category => "RegionServer",
|
129
|
+
:description => "Count of RPC Listener instances spun up on RegionServers",
|
130
|
+
:name => "regionserver_handlers",
|
131
|
+
:id => "puppet var",
|
132
|
+
:display_type => "int"
|
133
|
+
},
|
134
|
+
:hregion_majorcompaction => {
|
135
|
+
:is_visible => true,
|
136
|
+
:unit => "ms",
|
137
|
+
:domain => "regionserver-global",
|
138
|
+
:display_name => "HBase Region Major Compaction",
|
139
|
+
:service_name => "HBASE",
|
140
|
+
:default_value => "86400000",
|
141
|
+
:category => "RegionServer",
|
142
|
+
:description => "The time between major compactions of all HStoreFiles in a region. Set to 0 to disable automated major compactions.",
|
143
|
+
:name => "hregion_majorcompaction",
|
144
|
+
:id => "puppet var",
|
145
|
+
:display_type => "int"
|
146
|
+
},
|
147
|
+
:hregion_blockmultiplier => {
|
148
|
+
:is_visible => true,
|
149
|
+
:domain => "regionserver-global",
|
150
|
+
:display_name => "HBase Region Block Multiplier",
|
151
|
+
:service_name => "HBASE",
|
152
|
+
:default_value => "2",
|
153
|
+
:category => "RegionServer",
|
154
|
+
:description => "Block updates if memstore has \" Multiplier * HBase Region Memstore Flush Size \" bytes. Useful preventing runaway memstore during spikes in update traffic",
|
155
|
+
:name => "hregion_blockmultiplier",
|
156
|
+
:id => "puppet var",
|
157
|
+
:display_type => "int"
|
158
|
+
},
|
159
|
+
:hregion_memstoreflushsize => {
|
160
|
+
:is_visible => true,
|
161
|
+
:unit => "bytes",
|
162
|
+
:domain => "regionserver-global",
|
163
|
+
:display_name => "HBase Region Memstore Flush Size",
|
164
|
+
:service_name => "HBASE",
|
165
|
+
:default_value => "134217728",
|
166
|
+
:category => "RegionServer",
|
167
|
+
:description => "Memstore will be flushed to disk if size of the memstore exceeds this number of bytes.",
|
168
|
+
:name => "hregion_memstoreflushsize",
|
169
|
+
:id => "puppet var",
|
170
|
+
:display_type => "int"
|
171
|
+
},
|
172
|
+
:client_scannercaching => {
|
173
|
+
:is_visible => true,
|
174
|
+
:unit => "rows",
|
175
|
+
:domain => "global",
|
176
|
+
:display_name => "HBase Client Scanner Caching",
|
177
|
+
:service_name => "HBASE",
|
178
|
+
:default_value => "100",
|
179
|
+
:description => "Number of rows that will be fetched when calling next on a scanner if it is not served from (local, client) memory. Do not set this value such that the time between invocations is greater than the scanner timeout",
|
180
|
+
:name => "client_scannercaching",
|
181
|
+
:id => "puppet var",
|
182
|
+
:display_type => "int"
|
183
|
+
},
|
184
|
+
:zookeeper_sessiontimeout => {
|
185
|
+
:is_visible => true,
|
186
|
+
:unit => "ms",
|
187
|
+
:domain => "global",
|
188
|
+
:display_name => "Zookeeper timeout for HBase Session",
|
189
|
+
:service_name => "HBASE",
|
190
|
+
:default_value => "60000",
|
191
|
+
:description => "HBase passes this to the zk quorum as suggested maximum time for a session",
|
192
|
+
:name => "zookeeper_sessiontimeout",
|
193
|
+
:id => "puppet var",
|
194
|
+
:display_type => "int"
|
195
|
+
},
|
196
|
+
:hfile_max_keyvalue_size => {
|
197
|
+
:is_visible => true,
|
198
|
+
:unit => "bytes",
|
199
|
+
:domain => "global",
|
200
|
+
:display_name => "HBase Client Maximum key-value Size",
|
201
|
+
:service_name => "HBASE",
|
202
|
+
:default_value => "10485760",
|
203
|
+
:description => "Specifies the combined maximum allowed size of a KeyValue instance. It should be set to a fraction of the maximum region size.",
|
204
|
+
:name => "hfile_max_keyvalue_size",
|
205
|
+
:id => "puppet var",
|
206
|
+
:display_type => "int"
|
207
|
+
},
|
208
|
+
:hbase_hdfs_root_dir => {
|
209
|
+
:is_visible => false,
|
210
|
+
:domain => "global",
|
211
|
+
:display_name => "Hbase relative path to HDFS",
|
212
|
+
:service_name => "HBASE",
|
213
|
+
:default_value => "/apps/hbase/data",
|
214
|
+
:category => "Advanced",
|
215
|
+
:description => "Hbase relative directory to HDFS",
|
216
|
+
:name => "hbase_hdfs_root_dir",
|
217
|
+
:is_required => true,
|
218
|
+
:id => "puppet var",
|
219
|
+
:display_type => "advanced"
|
220
|
+
},
|
221
|
+
:hbase_tmp_dir => {
|
222
|
+
:is_visible => false,
|
223
|
+
:domain => "global",
|
224
|
+
:display_name => "Hbase temp directory",
|
225
|
+
:service_name => "HBASE",
|
226
|
+
:default_value => "/var/log/hbase",
|
227
|
+
:category => "Advanced",
|
228
|
+
:description => "",
|
229
|
+
:name => "hbase_tmp_dir",
|
230
|
+
:is_required => false,
|
231
|
+
:id => "puppet var",
|
232
|
+
:display_type => "advanced"
|
233
|
+
},
|
234
|
+
:hdfs_enable_shortcircuit_read => {
|
235
|
+
:is_visible => true,
|
236
|
+
:domain => "global",
|
237
|
+
:display_name => "HDFS Short-circuit read",
|
238
|
+
:service_name => "HBASE",
|
239
|
+
:default_value => true,
|
240
|
+
:category => "Advanced",
|
241
|
+
:description => "",
|
242
|
+
:name => "hdfs_enable_shortcircuit_read",
|
243
|
+
:is_required => false,
|
244
|
+
:id => "puppet var",
|
245
|
+
:display_type => "checkbox"
|
246
|
+
},
|
247
|
+
:hdfs_enable_shortcircuit_skipchecksum => {
|
248
|
+
:is_visible => true,
|
249
|
+
:domain => "global",
|
250
|
+
:display_name => "HDFS shortcircuit skip checksum",
|
251
|
+
:service_name => "HBASE",
|
252
|
+
:default_value => false,
|
253
|
+
:category => "Advanced",
|
254
|
+
:description => "skip checksum for short circuit read",
|
255
|
+
:name => "hdfs_enable_shortcircuit_skipchecksum",
|
256
|
+
:is_required => false,
|
257
|
+
:id => "puppet var",
|
258
|
+
:display_type => "checkbox"
|
259
|
+
},
|
260
|
+
:hdfs_support_append => {
|
261
|
+
:is_visible => true,
|
262
|
+
:domain => "global",
|
263
|
+
:display_name => "HDFS append support",
|
264
|
+
:service_name => "HBASE",
|
265
|
+
:default_value => true,
|
266
|
+
:category => "Advanced",
|
267
|
+
:description => "HDFS append support",
|
268
|
+
:name => "hdfs_support_append",
|
269
|
+
:is_required => false,
|
270
|
+
:id => "puppet var",
|
271
|
+
:display_type => "checkbox"
|
272
|
+
},
|
273
|
+
:hstore_blockingstorefiles => {
|
274
|
+
:is_visible => true,
|
275
|
+
:domain => "global",
|
276
|
+
:display_name => "hstore blocking storefiles",
|
277
|
+
:service_name => "HBASE",
|
278
|
+
:default_value => "7",
|
279
|
+
:category => "Advanced",
|
280
|
+
:description => "If more than this number of StoreFiles in any one Store (one StoreFile is written per flush of MemStore) then updates are blocked for this HRegion until a compaction is completed, or until hbase.hstore.blockingWaitTime has been exceeded.",
|
281
|
+
:name => "hstore_blockingstorefiles",
|
282
|
+
:is_required => true,
|
283
|
+
:id => "puppet var",
|
284
|
+
:display_type => "init"
|
285
|
+
},
|
286
|
+
:regionserver_memstore_lab => {
|
287
|
+
:is_visible => false,
|
288
|
+
:domain => "global",
|
289
|
+
:display_name => "regionserver_memstore_lab",
|
290
|
+
:service_name => "HBASE",
|
291
|
+
:default_value => true,
|
292
|
+
:category => "Advanced",
|
293
|
+
:description => "",
|
294
|
+
:name => "regionserver_memstore_lab",
|
295
|
+
:is_required => false,
|
296
|
+
:id => "puppet var",
|
297
|
+
:display_type => "checkbox"
|
298
|
+
},
|
299
|
+
:regionserver_memstore_lowerlimit => {
|
300
|
+
:is_visible => false,
|
301
|
+
:domain => "global",
|
302
|
+
:display_name => "regionserver_memstore_lowerlimit",
|
303
|
+
:service_name => "HBASE",
|
304
|
+
:default_value => "0.35",
|
305
|
+
:category => "Advanced",
|
306
|
+
:description => "",
|
307
|
+
:name => "regionserver_memstore_lowerlimit",
|
308
|
+
:is_required => false,
|
309
|
+
:id => "puppet var",
|
310
|
+
:display_type => "float"
|
311
|
+
},
|
312
|
+
:regionserver_memstore_upperlimitt => {
|
313
|
+
:is_visible => false,
|
314
|
+
:domain => "global",
|
315
|
+
:display_name => "regionserver_memstore_upperlimit",
|
316
|
+
:service_name => "HBASE",
|
317
|
+
:default_value => "0.4",
|
318
|
+
:category => "Advanced",
|
319
|
+
:description => "",
|
320
|
+
:name => "regionserver_memstore_upperlimitt",
|
321
|
+
:is_required => true,
|
322
|
+
:id => "puppet var",
|
323
|
+
:display_type => "float"
|
324
|
+
},
|
325
|
+
:hbase_conf_dir => {
|
326
|
+
:is_visible => false,
|
327
|
+
:domain => "global",
|
328
|
+
:display_name => "HBase conf dir",
|
329
|
+
:service_name => "MISC",
|
330
|
+
:default_value => "/etc/hbase",
|
331
|
+
:category => "General",
|
332
|
+
:description => "",
|
333
|
+
:name => "hbase_conf_dir",
|
334
|
+
:is_required => false,
|
335
|
+
:id => "puppet var",
|
336
|
+
:display_type => "directory"
|
337
|
+
},
|
338
|
+
:namenode_host => {
|
339
|
+
:is_visible => true,
|
340
|
+
:value => "",
|
341
|
+
:domain => "global",
|
342
|
+
:display_name => "NameNode host",
|
343
|
+
:service_name => "HDFS",
|
344
|
+
:default_value => "",
|
345
|
+
:category => "NameNode",
|
346
|
+
:description => "The host that has been assigned to run NameNode",
|
347
|
+
:name => "namenode_host",
|
348
|
+
:id => "puppet var",
|
349
|
+
:display_type => "masterHost"
|
350
|
+
},
|
351
|
+
:dfs_name_dir => {
|
352
|
+
:is_reconfigurable => false,
|
353
|
+
:is_visible => true,
|
354
|
+
:domain => "global",
|
355
|
+
:default_directory => "hadoop/hdfs/namenode",
|
356
|
+
:display_name => "NameNode directories",
|
357
|
+
:service_name => "HDFS",
|
358
|
+
:default_value => "/grid/0/hadoop/hdfs/namenode
|
359
|
+
/grid/1/hadoop/hdfs/namenode
|
360
|
+
",
|
361
|
+
:category => "NameNode",
|
362
|
+
:description => "NameNode directories for HDFS to store the file system image",
|
363
|
+
:name => "dfs_name_dir",
|
364
|
+
:id => "puppet var",
|
365
|
+
:display_type => "directories"
|
366
|
+
},
|
367
|
+
:snamenode_host => {
|
368
|
+
:is_visible => true,
|
369
|
+
:value => "",
|
370
|
+
:domain => "global",
|
371
|
+
:display_name => "SNameNode host",
|
372
|
+
:service_name => "HDFS",
|
373
|
+
:default_value => "",
|
374
|
+
:category => "SNameNode",
|
375
|
+
:description => "The host that has been assigned to run SecondaryNameNode",
|
376
|
+
:name => "snamenode_host",
|
377
|
+
:id => "puppet var",
|
378
|
+
:display_type => "masterHost"
|
379
|
+
},
|
380
|
+
:fs_checkpoint_dir => {
|
381
|
+
:is_reconfigurable => false,
|
382
|
+
:is_visible => true,
|
383
|
+
:domain => "global",
|
384
|
+
:default_directory => "hadoop/hdfs/namesecondary",
|
385
|
+
:display_name => "SecondaryNameNode Checkpoint directory",
|
386
|
+
:service_name => "HDFS",
|
387
|
+
:default_value => "/grid/0/hadoop/hdfs/namesecondary",
|
388
|
+
:category => "SNameNode",
|
389
|
+
:description => "Directory on the local filesystem where the Secondary NameNode should store the temporary images to merge",
|
390
|
+
:name => "fs_checkpoint_dir",
|
391
|
+
:id => "puppet var",
|
392
|
+
:display_type => "directory"
|
393
|
+
},
|
394
|
+
:datanode_hosts => {
|
395
|
+
:is_visible => true,
|
396
|
+
:value => "",
|
397
|
+
:domain => "datanode-global",
|
398
|
+
:display_name => "DataNode hosts",
|
399
|
+
:service_name => "HDFS",
|
400
|
+
:default_value => "",
|
401
|
+
:category => "DataNode",
|
402
|
+
:description => "The hosts that have been assigned to run DataNode",
|
403
|
+
:name => "datanode_hosts",
|
404
|
+
:is_required => false,
|
405
|
+
:id => "puppet var",
|
406
|
+
:display_type => "slaveHosts"
|
407
|
+
},
|
408
|
+
:dfs_data_dir => {
|
409
|
+
:is_reconfigurable => false,
|
410
|
+
:is_visible => true,
|
411
|
+
:domain => "datanode-global",
|
412
|
+
:default_directory => "hadoop-hdfs/dfs/data",
|
413
|
+
:display_name => "DataNode directories",
|
414
|
+
:service_name => "HDFS",
|
415
|
+
:default_value => "/tmp/hadoop-hdfs/dfs/data",
|
416
|
+
:category => "DataNode",
|
417
|
+
:description => "DataNode directories for HDFS to store the data blocks",
|
418
|
+
:name => "dfs_data_dir",
|
419
|
+
:id => "puppet var",
|
420
|
+
:display_type => "directories"
|
421
|
+
},
|
422
|
+
:hdfs_log_dir_prefix => {
|
423
|
+
:is_reconfigurable => false,
|
424
|
+
:is_visible => true,
|
425
|
+
:domain => "global",
|
426
|
+
:display_name => "Hadoop Log Dir Prefix",
|
427
|
+
:service_name => "HDFS",
|
428
|
+
:default_value => "/var/log/hadoop",
|
429
|
+
:category => "Advanced",
|
430
|
+
:description => "The parent directory for Hadoop log files. The HDFS log directory will be ${hadoop_log_dir_prefix} / ${hdfs_user} and the MapReduce log directory will be ${hadoop_log_dir_prefix} / ${mapred_user}.",
|
431
|
+
:name => "hdfs_log_dir_prefix",
|
432
|
+
:id => "puppet var",
|
433
|
+
:display_type => "directory"
|
434
|
+
},
|
435
|
+
:hadoop_pid_dir_prefix => {
|
436
|
+
:is_reconfigurable => false,
|
437
|
+
:is_visible => true,
|
438
|
+
:domain => "global",
|
439
|
+
:display_name => "Hadoop PID Dir Prefix",
|
440
|
+
:service_name => "HDFS",
|
441
|
+
:default_value => "/var/run/hadoop",
|
442
|
+
:category => "Advanced",
|
443
|
+
:description => "The parent directory in which the PID files for Hadoop processes will be created. The HDFS PID directory will be ${hadoop_pid_dir_prefix} / ${hdfs_user} and the MapReduce PID directory will be ${hadoop_pid_dir_prefix} / ${mapred_user}.",
|
444
|
+
:name => "hadoop_pid_dir_prefix",
|
445
|
+
:id => "puppet var",
|
446
|
+
:display_type => "directory"
|
447
|
+
},
|
448
|
+
:dfs_support_append => {
|
449
|
+
:is_visible => true,
|
450
|
+
:domain => "global",
|
451
|
+
:display_name => "Append enabled",
|
452
|
+
:service_name => "HDFS",
|
453
|
+
:default_value => true,
|
454
|
+
:description => "Whether to enable HDFS Append feature",
|
455
|
+
:name => "dfs_support_append",
|
456
|
+
:id => "puppet var",
|
457
|
+
:display_type => "checkbox"
|
458
|
+
},
|
459
|
+
:dfs_webhdfs_enabled => {
|
460
|
+
:is_visible => true,
|
461
|
+
:domain => "global",
|
462
|
+
:display_name => "WebHDFS enabled",
|
463
|
+
:service_name => "HDFS",
|
464
|
+
:default_value => false,
|
465
|
+
:description => "Whether to enable WebHDFS feature",
|
466
|
+
:name => "dfs_webhdfs_enabled",
|
467
|
+
:id => "puppet var",
|
468
|
+
:display_type => "checkbox"
|
469
|
+
},
|
470
|
+
:hadoop_heapsize => {
|
471
|
+
:is_visible => true,
|
472
|
+
:unit => "MB",
|
473
|
+
:domain => "global",
|
474
|
+
:display_name => "Hadoop maximum Java heap size",
|
475
|
+
:service_name => "HDFS",
|
476
|
+
:default_value => "1024",
|
477
|
+
:description => "Maximum Java heap size for daemons such as Balancer (Java option -Xmx)",
|
478
|
+
:name => "hadoop_heapsize",
|
479
|
+
:id => "puppet var",
|
480
|
+
:display_type => "int"
|
481
|
+
},
|
482
|
+
:namenode_heapsize => {
|
483
|
+
:is_visible => true,
|
484
|
+
:unit => "MB",
|
485
|
+
:domain => "global",
|
486
|
+
:display_name => "NameNode Java heap size",
|
487
|
+
:service_name => "HDFS",
|
488
|
+
:default_value => "1024",
|
489
|
+
:category => "NameNode",
|
490
|
+
:description => "Initial and maximum Java heap size for NameNode (Java options -Xms and -Xmx)",
|
491
|
+
:name => "namenode_heapsize",
|
492
|
+
:id => "puppet var",
|
493
|
+
:display_type => "int"
|
494
|
+
},
|
495
|
+
:namenode_opt_newsize => {
|
496
|
+
:is_visible => true,
|
497
|
+
:unit => "MB",
|
498
|
+
:domain => "global",
|
499
|
+
:display_name => "NameNode new generation size",
|
500
|
+
:service_name => "HDFS",
|
501
|
+
:default_value => "200",
|
502
|
+
:category => "NameNode",
|
503
|
+
:description => "Default size of Java new generation for NameNode (Java option -XX:NewSize)",
|
504
|
+
:name => "namenode_opt_newsize",
|
505
|
+
:id => "puppet var",
|
506
|
+
:display_type => "int"
|
507
|
+
},
|
508
|
+
:namenode_opt_maxnewsize => {
|
509
|
+
:is_visible => false,
|
510
|
+
:unit => "MB",
|
511
|
+
:domain => "global",
|
512
|
+
:display_name => "NameNode maximum new generation size",
|
513
|
+
:service_name => "HDFS",
|
514
|
+
:default_value => "640",
|
515
|
+
:category => "NameNode",
|
516
|
+
:description => "",
|
517
|
+
:name => "namenode_opt_maxnewsize",
|
518
|
+
:id => "puppet var",
|
519
|
+
:display_type => "int"
|
520
|
+
},
|
521
|
+
:datanode_du_reserved => {
|
522
|
+
:is_visible => true,
|
523
|
+
:unit => "GB",
|
524
|
+
:domain => "global",
|
525
|
+
:display_name => "Reserved space for HDFS",
|
526
|
+
:service_name => "HDFS",
|
527
|
+
:default_value => "1",
|
528
|
+
:description => "Reserved space in GB per volume",
|
529
|
+
:name => "datanode_du_reserved",
|
530
|
+
:id => "puppet var",
|
531
|
+
:display_type => "int"
|
532
|
+
},
|
533
|
+
:dtnode_heapsize => {
|
534
|
+
:is_visible => true,
|
535
|
+
:unit => "MB",
|
536
|
+
:domain => "datanode-global",
|
537
|
+
:display_name => "DataNode maximum Java heap size",
|
538
|
+
:service_name => "HDFS",
|
539
|
+
:default_value => "1024",
|
540
|
+
:category => "DataNode",
|
541
|
+
:description => "Maximum Java heap size for DataNode (Java option -Xmx)",
|
542
|
+
:name => "dtnode_heapsize",
|
543
|
+
:id => "puppet var",
|
544
|
+
:display_type => "int"
|
545
|
+
},
|
546
|
+
:dfs_datanode_failed_volume_tolerated => {
|
547
|
+
:is_visible => true,
|
548
|
+
:domain => "datanode-global",
|
549
|
+
:display_name => "DataNode volumes failure toleration",
|
550
|
+
:service_name => "HDFS",
|
551
|
+
:default_value => "0",
|
552
|
+
:category => "DataNode",
|
553
|
+
:description => "The number of volumes that are allowed to fail before a DataNode stops offering service",
|
554
|
+
:name => "dfs_datanode_failed_volume_tolerated",
|
555
|
+
:id => "puppet var",
|
556
|
+
:display_type => "int"
|
557
|
+
},
|
558
|
+
:fs_checkpoint_period => {
|
559
|
+
:is_reconfigurable => false,
|
560
|
+
:is_visible => true,
|
561
|
+
:unit => "seconds",
|
562
|
+
:domain => "global",
|
563
|
+
:display_name => "HDFS Maximum Checkpoint Delay",
|
564
|
+
:service_name => "HDFS",
|
565
|
+
:default_value => "21600",
|
566
|
+
:filename => "core-site.xml",
|
567
|
+
:description => "Maximum delay between two consecutive checkpoints for HDFS",
|
568
|
+
:name => "fs_checkpoint_period",
|
569
|
+
:id => "puppet var",
|
570
|
+
:display_type => "int"
|
571
|
+
},
|
572
|
+
:fs_checkpoint_size => {
|
573
|
+
:is_reconfigurable => false,
|
574
|
+
:is_visible => true,
|
575
|
+
:unit => "GB",
|
576
|
+
:domain => "global",
|
577
|
+
:display_name => "HDFS Maximum Edit Log Size for Checkpointing",
|
578
|
+
:service_name => "HDFS",
|
579
|
+
:default_value => "0.5",
|
580
|
+
:filename => "core-site.xml",
|
581
|
+
:description => "Maximum size of the edits log file that forces an urgent checkpoint even if the maximum checkpoint delay is not reached",
|
582
|
+
:name => "fs_checkpoint_size",
|
583
|
+
:id => "puppet var",
|
584
|
+
:display_type => "float"
|
585
|
+
},
|
586
|
+
:proxyuser_group => {
|
587
|
+
:is_reconfigurable => false,
|
588
|
+
:is_visible => true,
|
589
|
+
:domain => "global",
|
590
|
+
:display_name => "Proxy group for Hive, Templeton, and Oozie",
|
591
|
+
:service_name => "MISC",
|
592
|
+
:default_value => "users",
|
593
|
+
:category => "Users and Groups",
|
594
|
+
:filename => "core-site.xml",
|
595
|
+
:description => "",
|
596
|
+
:name => "proxyuser_group",
|
597
|
+
:id => "puppet var",
|
598
|
+
:display_type => "advanced"
|
599
|
+
},
|
600
|
+
:dfs_exclude => {
|
601
|
+
:is_reconfigurable => false,
|
602
|
+
:is_visible => true,
|
603
|
+
:domain => "global",
|
604
|
+
:display_name => "Exclude hosts",
|
605
|
+
:service_name => "HDFS",
|
606
|
+
:default_value => "dfs.exclude",
|
607
|
+
:category => "Advanced",
|
608
|
+
:filename => "hdfs-site.xml",
|
609
|
+
:description => "Exclude entered hosts",
|
610
|
+
:name => "dfs_exclude",
|
611
|
+
:id => "puppet var",
|
612
|
+
:display_type => "advanced"
|
613
|
+
},
|
614
|
+
:dfs_include => {
|
615
|
+
:is_reconfigurable => false,
|
616
|
+
:is_visible => true,
|
617
|
+
:domain => "global",
|
618
|
+
:display_name => "Include hosts",
|
619
|
+
:service_name => "HDFS",
|
620
|
+
:default_value => "dfs.include",
|
621
|
+
:category => "Advanced",
|
622
|
+
:filename => "hdfs-site.xml",
|
623
|
+
:description => "Include entered hosts",
|
624
|
+
:name => "dfs_include",
|
625
|
+
:id => "puppet var",
|
626
|
+
:display_type => "advanced"
|
627
|
+
},
|
628
|
+
:dfs_replication => {
|
629
|
+
:is_reconfigurable => false,
|
630
|
+
:is_visible => true,
|
631
|
+
:domain => "global",
|
632
|
+
:display_name => "Block replication",
|
633
|
+
:service_name => "HDFS",
|
634
|
+
:default_value => "3",
|
635
|
+
:category => "Advanced",
|
636
|
+
:filename => "hdfs-site.xml",
|
637
|
+
:description => "Default block replication.",
|
638
|
+
:name => "dfs_replication",
|
639
|
+
:id => "puppet var",
|
640
|
+
:display_type => "int"
|
641
|
+
},
|
642
|
+
:dfs_block_local_path_access_user => {
|
643
|
+
:is_reconfigurable => false,
|
644
|
+
:is_visible => true,
|
645
|
+
:domain => "global",
|
646
|
+
:display_name => "dfs.block.local-path-access.user",
|
647
|
+
:service_name => "HDFS",
|
648
|
+
:default_value => "hbase",
|
649
|
+
:category => "Advanced",
|
650
|
+
:filename => "hdfs-site.xml",
|
651
|
+
:description => "the user who is allowed to perform short circuit reads",
|
652
|
+
:name => "dfs_block_local_path_access_user",
|
653
|
+
:id => "puppet var",
|
654
|
+
:display_type => "advanced"
|
655
|
+
},
|
656
|
+
:dfs_datanode_address => {
|
657
|
+
:is_reconfigurable => true,
|
658
|
+
:is_visible => true,
|
659
|
+
:domain => "global",
|
660
|
+
:display_name => "dfs_datanode_address",
|
661
|
+
:service_name => "MISC",
|
662
|
+
:default_value => "50010",
|
663
|
+
:category => "Advanced",
|
664
|
+
:filename => "hdfs-site.xml",
|
665
|
+
:description => "",
|
666
|
+
:name => "dfs_datanode_address",
|
667
|
+
:id => "puppet var",
|
668
|
+
:display_type => "int"
|
669
|
+
},
|
670
|
+
:dfs_datanode_http_address => {
|
671
|
+
:is_reconfigurable => true,
|
672
|
+
:is_visible => true,
|
673
|
+
:domain => "global",
|
674
|
+
:display_name => "dfs_datanode_http_address",
|
675
|
+
:service_name => "MISC",
|
676
|
+
:default_value => "50075",
|
677
|
+
:category => "Advanced",
|
678
|
+
:filename => "hdfs-site.xml",
|
679
|
+
:description => "",
|
680
|
+
:name => "dfs_datanode_http_address",
|
681
|
+
:id => "puppet var",
|
682
|
+
:display_type => "int"
|
683
|
+
},
|
684
|
+
:dfs_datanode_http_address => {
|
685
|
+
:is_reconfigurable => true,
|
686
|
+
:is_visible => true,
|
687
|
+
:domain => "global",
|
688
|
+
:display_name => "dfs_datanode_http_address",
|
689
|
+
:service_name => "MISC",
|
690
|
+
:default_value => "50075",
|
691
|
+
:category => "Advanced",
|
692
|
+
:filename => "hdfs-site.xml",
|
693
|
+
:description => "",
|
694
|
+
:name => "dfs_datanode_http_address",
|
695
|
+
:id => "puppet var",
|
696
|
+
:display_type => "int"
|
697
|
+
},
|
698
|
+
:dfs_datanode_data_dir_perm => {
|
699
|
+
:is_reconfigurable => true,
|
700
|
+
:is_visible => false,
|
701
|
+
:domain => "global",
|
702
|
+
:display_name => "dfs_datanode_data_dir_perm",
|
703
|
+
:service_name => "HDFS",
|
704
|
+
:default_value => "750",
|
705
|
+
:category => "Advanced",
|
706
|
+
:filename => "hdfs-site.xml",
|
707
|
+
:description => "",
|
708
|
+
:name => "dfs_datanode_data_dir_perm",
|
709
|
+
:id => "puppet var",
|
710
|
+
:display_type => "int"
|
711
|
+
},
|
712
|
+
:security_enabled => {
|
713
|
+
:is_visible => false,
|
714
|
+
:domain => "global",
|
715
|
+
:display_name => "Hadoop Security",
|
716
|
+
:service_name => "HDFS",
|
717
|
+
:default_value => false,
|
718
|
+
:category => "Advanced",
|
719
|
+
:description => "Enable hadoop security",
|
720
|
+
:name => "security_enabled",
|
721
|
+
:is_required => false,
|
722
|
+
:id => "puppet var",
|
723
|
+
:display_type => "checkbox"
|
724
|
+
},
|
725
|
+
:kerberos_domain => {
|
726
|
+
:is_visible => false,
|
727
|
+
:domain => "global",
|
728
|
+
:display_name => "Kerberos realm",
|
729
|
+
:service_name => "HDFS",
|
730
|
+
:default_value => "EXAMPLE.COM",
|
731
|
+
:category => "Advanced",
|
732
|
+
:description => "Kerberos realm",
|
733
|
+
:name => "kerberos_domain",
|
734
|
+
:is_required => true,
|
735
|
+
:id => "puppet var"
|
736
|
+
},
|
737
|
+
:kadmin_pw => {
|
738
|
+
:is_visible => false,
|
739
|
+
:domain => "global",
|
740
|
+
:display_name => "password",
|
741
|
+
:service_name => "HDFS",
|
742
|
+
:default_value => "",
|
743
|
+
:category => "Advanced",
|
744
|
+
:description => "Kerberos admin password",
|
745
|
+
:name => "kadmin_pw",
|
746
|
+
:is_required => true,
|
747
|
+
:id => "puppet var",
|
748
|
+
:display_type => "password"
|
749
|
+
},
|
750
|
+
:keytab_path => {
|
751
|
+
:is_visible => false,
|
752
|
+
:domain => "global",
|
753
|
+
:display_name => "Keytab directory",
|
754
|
+
:service_name => "HDFS",
|
755
|
+
:default_value => "/etc/security/keytabs",
|
756
|
+
:category => "Advanced",
|
757
|
+
:description => "Kerberos admin password",
|
758
|
+
:name => "keytab_path",
|
759
|
+
:is_required => true,
|
760
|
+
:id => "puppet var",
|
761
|
+
:display_type => "advanced"
|
762
|
+
},
|
763
|
+
:hivemetastore_host => {
|
764
|
+
:is_visible => true,
|
765
|
+
:value => "",
|
766
|
+
:display_name => "Hive Metastore host",
|
767
|
+
:service_name => "HIVE",
|
768
|
+
:default_value => "",
|
769
|
+
:category => "Hive Metastore",
|
770
|
+
:description => "The host that has been assigned to run Hive Metastore",
|
771
|
+
:name => "hivemetastore_host",
|
772
|
+
:id => "puppet var",
|
773
|
+
:display_type => "masterHost"
|
774
|
+
},
|
775
|
+
:hive_database => {
|
776
|
+
:is_visible => true,
|
777
|
+
:value => "",
|
778
|
+
:domain => "global",
|
779
|
+
:display_name => "Hive Database",
|
780
|
+
:service_name => "HIVE",
|
781
|
+
:options => {
|
782
|
+
{
|
783
|
+
:displayName => "New MySQL Database",
|
784
|
+
:foreignKeys => ["hive_ambari_database", "hive_ambari_host"]
|
785
|
+
},
|
786
|
+
{
|
787
|
+
:displayName => "Existing MySQL Database",
|
788
|
+
:foreignKeys => ["hive_existing_database", "hive_existing_host"]
|
789
|
+
}
|
790
|
+
},
|
791
|
+
:default_value => "New MySQL Database",
|
792
|
+
:category => "Hive Metastore",
|
793
|
+
:description => "MySQL will be installed by Ambari",
|
794
|
+
:name => "hive_database",
|
795
|
+
:id => "puppet var",
|
796
|
+
:radio_name => "hive-database",
|
797
|
+
:display_type => "radio button"
|
798
|
+
},
|
799
|
+
:hive_existing_database => {
|
800
|
+
:is_visible => false,
|
801
|
+
:value => "",
|
802
|
+
:domain => "global",
|
803
|
+
:display_name => "Database Type",
|
804
|
+
:service_name => "HIVE",
|
805
|
+
:default_value => "MySQL",
|
806
|
+
:category => "Hive Metastore",
|
807
|
+
:description => "Using an existing database for Hive Metastore",
|
808
|
+
:name => "hive_existing_database",
|
809
|
+
:id => "puppet var",
|
810
|
+
:display_type => "masterHost"
|
811
|
+
},
|
812
|
+
:hive_existing_host => {
|
813
|
+
:is_reconfigurable => false,
|
814
|
+
:is_visible => false,
|
815
|
+
:domain => "global",
|
816
|
+
:display_name => "Database host",
|
817
|
+
:service_name => "HIVE",
|
818
|
+
:default_value => "",
|
819
|
+
:category => "Hive Metastore",
|
820
|
+
:description => "Specify the host on which the existing database is hosted",
|
821
|
+
:name => "hive_existing_host",
|
822
|
+
:id => "puppet var",
|
823
|
+
:display_type => "host"
|
824
|
+
},
|
825
|
+
:hive_ambari_database => {
|
826
|
+
:is_visible => true,
|
827
|
+
:value => "",
|
828
|
+
:domain => "global",
|
829
|
+
:display_name => "Database Type",
|
830
|
+
:service_name => "HIVE",
|
831
|
+
:default_value => "MySQL",
|
832
|
+
:category => "Hive Metastore",
|
833
|
+
:description => "MySQL will be installed by Ambari",
|
834
|
+
:name => "hive_ambari_database",
|
835
|
+
:id => "puppet var",
|
836
|
+
:display_type => "masterHost"
|
837
|
+
},
|
838
|
+
:hive_ambari_host => {
|
839
|
+
:is_reconfigurable => false,
|
840
|
+
:is_visible => true,
|
841
|
+
:value => "",
|
842
|
+
:domain => "global",
|
843
|
+
:display_name => "PostgreSQL host",
|
844
|
+
:service_name => "HIVE",
|
845
|
+
:default_value => "",
|
846
|
+
:category => "Hive Metastore",
|
847
|
+
:description => "Host on which the PostgreSQL database will be created by Ambari",
|
848
|
+
:name => "hive_ambari_host",
|
849
|
+
:id => "puppet var",
|
850
|
+
:display_type => "masterHost"
|
851
|
+
},
|
852
|
+
:hive_database_name => {
|
853
|
+
:is_reconfigurable => false,
|
854
|
+
:is_visible => true,
|
855
|
+
:domain => "global",
|
856
|
+
:display_name => "Database name",
|
857
|
+
:service_name => "HIVE",
|
858
|
+
:default_value => "hive",
|
859
|
+
:category => "Hive Metastore",
|
860
|
+
:description => "Database name used as the Hive Metastore",
|
861
|
+
:name => "hive_database_name",
|
862
|
+
:id => "puppet var",
|
863
|
+
:display_type => "host"
|
864
|
+
},
|
865
|
+
:hive_metastore_user_name => {
|
866
|
+
:is_reconfigurable => false,
|
867
|
+
:is_visible => true,
|
868
|
+
:domain => "global",
|
869
|
+
:display_name => "Database user",
|
870
|
+
:service_name => "HIVE",
|
871
|
+
:default_value => "hive",
|
872
|
+
:category => "Hive Metastore",
|
873
|
+
:description => "Database user name to use to connect to the database",
|
874
|
+
:name => "hive_metastore_user_name",
|
875
|
+
:id => "puppet var",
|
876
|
+
:display_type => "user"
|
877
|
+
},
|
878
|
+
:hive_metastore_user_passwd => {
|
879
|
+
:is_reconfigurable => false,
|
880
|
+
:is_visible => true,
|
881
|
+
:domain => "global",
|
882
|
+
:display_name => "Database password",
|
883
|
+
:service_name => "HIVE",
|
884
|
+
:default_value => "",
|
885
|
+
:category => "Hive Metastore",
|
886
|
+
:description => "Database password to use to connect to the PostgreSQL database",
|
887
|
+
:name => "hive_metastore_user_passwd",
|
888
|
+
:id => "puppet var",
|
889
|
+
:display_type => "password"
|
890
|
+
},
|
891
|
+
:hive_metastore_port => {
|
892
|
+
:is_reconfigurable => false,
|
893
|
+
:is_visible => false,
|
894
|
+
:domain => "global",
|
895
|
+
:display_name => "Hive metastore port",
|
896
|
+
:service_name => "HIVE",
|
897
|
+
:default_value => "9083",
|
898
|
+
:category => "Advanced",
|
899
|
+
:description => "",
|
900
|
+
:name => "hive_metastore_port",
|
901
|
+
:id => "puppet var",
|
902
|
+
:display_type => "int"
|
903
|
+
},
|
904
|
+
:hive_lib => {
|
905
|
+
:is_reconfigurable => false,
|
906
|
+
:is_visible => false,
|
907
|
+
:domain => "global",
|
908
|
+
:display_name => "Hive library",
|
909
|
+
:service_name => "HIVE",
|
910
|
+
:default_value => "/usr/lib/hive/lib/",
|
911
|
+
:category => "Advanced",
|
912
|
+
:description => "",
|
913
|
+
:name => "hive_lib",
|
914
|
+
:id => "puppet var",
|
915
|
+
:display_type => "directory"
|
916
|
+
},
|
917
|
+
:hive_conf_dir => {
|
918
|
+
:is_reconfigurable => false,
|
919
|
+
:is_visible => false,
|
920
|
+
:domain => "global",
|
921
|
+
:display_name => "Hive lconf directory",
|
922
|
+
:service_name => "HIVE",
|
923
|
+
:default_value => "/etc/hive/conf",
|
924
|
+
:category => "Advanced",
|
925
|
+
:description => "",
|
926
|
+
:name => "hive_conf_dir",
|
927
|
+
:id => "puppet var",
|
928
|
+
:display_type => "directory"
|
929
|
+
},
|
930
|
+
:hive_dbroot => {
|
931
|
+
:is_reconfigurable => false,
|
932
|
+
:is_visible => false,
|
933
|
+
:domain => "global",
|
934
|
+
:display_name => "Hive lconf directory",
|
935
|
+
:service_name => "HIVE",
|
936
|
+
:default_value => "/usr/lib/hive/lib",
|
937
|
+
:category => "Advanced",
|
938
|
+
:description => "",
|
939
|
+
:name => "hive_dbroot",
|
940
|
+
:id => "puppet var",
|
941
|
+
:display_type => "directory"
|
942
|
+
},
|
943
|
+
:hive_log_dir => {
|
944
|
+
:is_reconfigurable => false,
|
945
|
+
:is_visible => false,
|
946
|
+
:domain => "global",
|
947
|
+
:display_name => "Hive Log Dir",
|
948
|
+
:service_name => "HIVE",
|
949
|
+
:default_value => "/var/log/hive",
|
950
|
+
:category => "Advanced",
|
951
|
+
:description => "Directory for Hive log files",
|
952
|
+
:name => "hive_log_dir",
|
953
|
+
:id => "puppet var",
|
954
|
+
:display_type => "directory"
|
955
|
+
},
|
956
|
+
:hive_pid_dir => {
|
957
|
+
:is_reconfigurable => false,
|
958
|
+
:is_visible => true,
|
959
|
+
:domain => "global",
|
960
|
+
:display_name => "Hive PID Dir",
|
961
|
+
:service_name => "HIVE",
|
962
|
+
:default_value => "/var/run/hive",
|
963
|
+
:category => "Advanced",
|
964
|
+
:description => "Directory in which the PID files for Hive processes will be created",
|
965
|
+
:name => "hive_pid_dir",
|
966
|
+
:id => "puppet var",
|
967
|
+
:display_type => "directory"
|
968
|
+
},
|
969
|
+
:gpl_artifacts_download_url => {
|
970
|
+
:is_reconfigurable => false,
|
971
|
+
:is_visible => false,
|
972
|
+
:domain => "global",
|
973
|
+
:display_name => "gpl artifact download url",
|
974
|
+
:service_name => "MISC",
|
975
|
+
:default_value => "",
|
976
|
+
:category => "General",
|
977
|
+
:description => "",
|
978
|
+
:name => "gpl_artifacts_download_url",
|
979
|
+
:id => "puppet var",
|
980
|
+
:display_type => "advanced"
|
981
|
+
},
|
982
|
+
:apache_artifacts_download_url => {
|
983
|
+
:is_reconfigurable => false,
|
984
|
+
:is_visible => false,
|
985
|
+
:domain => "global",
|
986
|
+
:display_name => "apache artifact download url",
|
987
|
+
:service_name => "MISC",
|
988
|
+
:default_value => "",
|
989
|
+
:category => "General",
|
990
|
+
:description => "",
|
991
|
+
:name => "apache_artifacts_download_url",
|
992
|
+
:id => "puppet var",
|
993
|
+
:display_type => "advanced"
|
994
|
+
},
|
995
|
+
:mysql_connector_url => {
|
996
|
+
:is_reconfigurable => false,
|
997
|
+
:is_visible => false,
|
998
|
+
:domain => "global",
|
999
|
+
:display_name => "MySQL connector url",
|
1000
|
+
:service_name => "HIVE",
|
1001
|
+
:default_value => "${download_url}/mysql-connector-java-5.1.18.zip",
|
1002
|
+
:category => "Advanced",
|
1003
|
+
:description => "",
|
1004
|
+
:name => "mysql_connector_url",
|
1005
|
+
:id => "puppet var",
|
1006
|
+
:display_type => "directory"
|
1007
|
+
},
|
1008
|
+
:hive_aux_jars_path => {
|
1009
|
+
:is_reconfigurable => false,
|
1010
|
+
:is_visible => false,
|
1011
|
+
:domain => "global",
|
1012
|
+
:display_name => "Hive auxilary jar path",
|
1013
|
+
:service_name => "HIVE",
|
1014
|
+
:default_value => "/usr/lib/hcatalog/share/hcatalog/hcatalog-0.4.0.14.jar",
|
1015
|
+
:category => "Advanced",
|
1016
|
+
:description => "",
|
1017
|
+
:name => "hive_aux_jars_path",
|
1018
|
+
:id => "puppet var",
|
1019
|
+
:display_type => "directory"
|
1020
|
+
},
|
1021
|
+
:ganglia_conf_dir => {
|
1022
|
+
:is_reconfigurable => false,
|
1023
|
+
:is_visible => false,
|
1024
|
+
:domain => "global",
|
1025
|
+
:display_name => "Ganglia conf directory",
|
1026
|
+
:service_name => "GANGLIA",
|
1027
|
+
:default_value => "/etc/ganglia/hdp",
|
1028
|
+
:category => "Advanced",
|
1029
|
+
:description => "",
|
1030
|
+
:name => "ganglia_conf_dir",
|
1031
|
+
:id => "puppet var",
|
1032
|
+
:display_type => "directory"
|
1033
|
+
},
|
1034
|
+
:ganglia_runtime_dir => {
|
1035
|
+
:is_reconfigurable => false,
|
1036
|
+
:is_visible => false,
|
1037
|
+
:domain => "global",
|
1038
|
+
:display_name => "Ganglia runtime directory",
|
1039
|
+
:service_name => "MISC",
|
1040
|
+
:default_value => "/var/run/ganglia/hdp",
|
1041
|
+
:category => "General",
|
1042
|
+
:description => "",
|
1043
|
+
:name => "ganglia_runtime_dir",
|
1044
|
+
:id => "puppet var",
|
1045
|
+
:display_type => "directory"
|
1046
|
+
},
|
1047
|
+
:gmetad_user => {
|
1048
|
+
:is_reconfigurable => false,
|
1049
|
+
:is_visible => false,
|
1050
|
+
:domain => "global",
|
1051
|
+
:display_name => "gmetad_user",
|
1052
|
+
:service_name => "MISC",
|
1053
|
+
:default_value => "nobody",
|
1054
|
+
:category => "Users and Groups",
|
1055
|
+
:description => "",
|
1056
|
+
:name => "gmetad_user",
|
1057
|
+
:id => "puppet var",
|
1058
|
+
:display_type => "advanced"
|
1059
|
+
},
|
1060
|
+
:gmond_user => {
|
1061
|
+
:is_reconfigurable => false,
|
1062
|
+
:is_visible => false,
|
1063
|
+
:domain => "global",
|
1064
|
+
:display_name => "gmond_user",
|
1065
|
+
:service_name => "MISC",
|
1066
|
+
:default_value => "nobody",
|
1067
|
+
:category => "Users and Groups",
|
1068
|
+
:description => "",
|
1069
|
+
:name => "gmond_user",
|
1070
|
+
:id => "puppet var",
|
1071
|
+
:display_type => "advanced"
|
1072
|
+
},
|
1073
|
+
:ganglia_shell_cmds_dir => {
|
1074
|
+
:is_reconfigurable => false,
|
1075
|
+
:is_visible => false,
|
1076
|
+
:domain => "global",
|
1077
|
+
:display_name => "ganglia_shell_cmds_dir",
|
1078
|
+
:service_name => "MISC",
|
1079
|
+
:default_value => "/usr/libexec/hdp/ganglia",
|
1080
|
+
:category => "General",
|
1081
|
+
:description => "",
|
1082
|
+
:name => "ganglia_shell_cmds_dir",
|
1083
|
+
:id => "puppet var",
|
1084
|
+
:display_type => "directory"
|
1085
|
+
},
|
1086
|
+
:webserver_group => {
|
1087
|
+
:is_reconfigurable => false,
|
1088
|
+
:is_visible => false,
|
1089
|
+
:domain => "global",
|
1090
|
+
:display_name => "ganglia_shell_cmds_dir",
|
1091
|
+
:service_name => "MISC",
|
1092
|
+
:default_value => "apache",
|
1093
|
+
:category => "General",
|
1094
|
+
:description => "",
|
1095
|
+
:name => "webserver_group",
|
1096
|
+
:id => "puppet var",
|
1097
|
+
:display_type => "advanced"
|
1098
|
+
},
|
1099
|
+
:hcat_log_dir => {
|
1100
|
+
:is_reconfigurable => false,
|
1101
|
+
:is_visible => true,
|
1102
|
+
:domain => "global",
|
1103
|
+
:display_name => "HCat Log Dir",
|
1104
|
+
:service_name => "HIVE",
|
1105
|
+
:default_value => "/var/log/hcatalog",
|
1106
|
+
:category => "Advanced",
|
1107
|
+
:description => "Directory for HCatalog log files",
|
1108
|
+
:name => "hcat_log_dir",
|
1109
|
+
:id => "puppet var",
|
1110
|
+
:display_type => "directory"
|
1111
|
+
},
|
1112
|
+
:hcat_pid_dir => {
|
1113
|
+
:is_reconfigurable => false,
|
1114
|
+
:is_visible => true,
|
1115
|
+
:domain => "global",
|
1116
|
+
:display_name => "HCat PID Dir",
|
1117
|
+
:service_name => "HIVE",
|
1118
|
+
:default_value => "/var/run/hcatalog",
|
1119
|
+
:category => "Advanced",
|
1120
|
+
:description => "Directory in which the PID files for HCatalog processes will be created",
|
1121
|
+
:name => "hcat_pid_dir",
|
1122
|
+
:id => "puppet var",
|
1123
|
+
:display_type => "directory"
|
1124
|
+
},
|
1125
|
+
:jobtracker_host => {
|
1126
|
+
:is_visible => true,
|
1127
|
+
:value => "",
|
1128
|
+
:domain => "global",
|
1129
|
+
:display_name => "JobTracker host",
|
1130
|
+
:service_name => "MAPREDUCE",
|
1131
|
+
:default_value => "",
|
1132
|
+
:category => "JobTracker",
|
1133
|
+
:description => "The host that has been assigned to run JobTracker",
|
1134
|
+
:name => "jobtracker_host",
|
1135
|
+
:id => "puppet var",
|
1136
|
+
:display_type => "masterHost"
|
1137
|
+
},
|
1138
|
+
:tasktracker_hosts => {
|
1139
|
+
:is_visible => true,
|
1140
|
+
:value => "",
|
1141
|
+
:domain => "tasktracker-global",
|
1142
|
+
:display_name => "TaskTracer hosts",
|
1143
|
+
:service_name => "MAPREDUCE",
|
1144
|
+
:default_value => "",
|
1145
|
+
:category => "TaskTracker",
|
1146
|
+
:description => "The hosts that have been assigned to run TaskTracker",
|
1147
|
+
:name => "tasktracker_hosts",
|
1148
|
+
:is_required => false,
|
1149
|
+
:id => "puppet var",
|
1150
|
+
:display_type => "slaveHosts"
|
1151
|
+
},
|
1152
|
+
:mapred_local_dir => {
|
1153
|
+
:is_reconfigurable => false,
|
1154
|
+
:is_visible => true,
|
1155
|
+
:domain => "tasktracker-global",
|
1156
|
+
:default_directory => "hadoop/mapred",
|
1157
|
+
:display_name => "MapReduce local directories",
|
1158
|
+
:service_name => "MAPREDUCE",
|
1159
|
+
:default_value => "/grid/0/hadoop/mapred
|
1160
|
+
/grid/1/hadoop/mapred
|
1161
|
+
",
|
1162
|
+
:category => "TaskTracker",
|
1163
|
+
:description => "Directories for MapReduce to store intermediate data files",
|
1164
|
+
:name => "mapred_local_dir",
|
1165
|
+
:id => "puppet var",
|
1166
|
+
:display_type => "directories"
|
1167
|
+
},
|
1168
|
+
:mapred_system_dir => {
|
1169
|
+
:is_reconfigurable => false,
|
1170
|
+
:is_visible => true,
|
1171
|
+
:domain => "global",
|
1172
|
+
:display_name => "MapReduce system directories",
|
1173
|
+
:service_name => "MAPREDUCE",
|
1174
|
+
:default_value => "",
|
1175
|
+
:category => "Advanced",
|
1176
|
+
:description => "",
|
1177
|
+
:name => "mapred_system_dir",
|
1178
|
+
:is_required => false,
|
1179
|
+
:id => "puppet var",
|
1180
|
+
:display_type => "directories"
|
1181
|
+
},
|
1182
|
+
:scheduler_name => {
|
1183
|
+
:is_visible => true,
|
1184
|
+
:display_name => "MapReduce Capacity Scheduler",
|
1185
|
+
:service_name => "MAPREDUCE",
|
1186
|
+
:default_value => "org.apache.hadoop.mapred.CapacityTaskScheduler",
|
1187
|
+
:description => "The scheduler to use for scheduling of MapReduce jobs",
|
1188
|
+
:name => "scheduler_name",
|
1189
|
+
:id => "puppet var",
|
1190
|
+
:display_type => "directory"
|
1191
|
+
},
|
1192
|
+
:jtnode_opt_newsize => {
|
1193
|
+
:is_visible => true,
|
1194
|
+
:unit => "MB",
|
1195
|
+
:domain => "global",
|
1196
|
+
:display_name => "JobTracker new generation size",
|
1197
|
+
:service_name => "MAPREDUCE",
|
1198
|
+
:default_value => "200",
|
1199
|
+
:category => "JobTracker",
|
1200
|
+
:description => "Default size of Java new generation size for JobTracker in MB (Java option -XX:NewSize)",
|
1201
|
+
:name => "jtnode_opt_newsize",
|
1202
|
+
:id => "puppet var",
|
1203
|
+
:display_type => "int"
|
1204
|
+
},
|
1205
|
+
:jtnode_opt_maxnewsize => {
|
1206
|
+
:is_visible => true,
|
1207
|
+
:unit => "MB",
|
1208
|
+
:domain => "global",
|
1209
|
+
:display_name => "JobTracker maximum new generation size",
|
1210
|
+
:service_name => "MAPREDUCE",
|
1211
|
+
:default_value => "200",
|
1212
|
+
:category => "JobTracker",
|
1213
|
+
:description => "Maximum size of Java new generation for JobTracker in MB (Java option -XX:MaxNewSize)",
|
1214
|
+
:name => "jtnode_opt_maxnewsize",
|
1215
|
+
:id => "puppet var",
|
1216
|
+
:display_type => "int"
|
1217
|
+
},
|
1218
|
+
:jtnode_heapsize => {
|
1219
|
+
:is_visible => true,
|
1220
|
+
:unit => "MB",
|
1221
|
+
:domain => "global",
|
1222
|
+
:display_name => "JobTracker maximum Java heap size",
|
1223
|
+
:service_name => "MAPREDUCE",
|
1224
|
+
:default_value => "1024",
|
1225
|
+
:category => "JobTracker",
|
1226
|
+
:description => "Maximum Java heap size for JobTracker in MB (Java option -Xmx)",
|
1227
|
+
:name => "jtnode_heapsize",
|
1228
|
+
:id => "puppet var",
|
1229
|
+
:display_type => "int"
|
1230
|
+
},
|
1231
|
+
:mapred_map_tasks_max => {
|
1232
|
+
:is_visible => true,
|
1233
|
+
:domain => "tasktracker-global",
|
1234
|
+
:display_name => "Number of Map slots per node",
|
1235
|
+
:service_name => "MAPREDUCE",
|
1236
|
+
:default_value => "4",
|
1237
|
+
:category => "TaskTracker",
|
1238
|
+
:description => "Number of slots that Map tasks that run simultaneously can occupy on a TaskTracker",
|
1239
|
+
:name => "mapred_map_tasks_max",
|
1240
|
+
:id => "puppet var",
|
1241
|
+
:display_type => "int"
|
1242
|
+
},
|
1243
|
+
:mapred_red_tasks_max => {
|
1244
|
+
:is_visible => true,
|
1245
|
+
:domain => "tasktracker-global",
|
1246
|
+
:display_name => "Number of Reduce slots per node",
|
1247
|
+
:service_name => "MAPREDUCE",
|
1248
|
+
:default_value => "2",
|
1249
|
+
:category => "TaskTracker",
|
1250
|
+
:description => "Number of slots that Reduce tasks that run simultaneously can occupy on a TaskTracker.",
|
1251
|
+
:name => "mapred_red_tasks_max",
|
1252
|
+
:is_required => false,
|
1253
|
+
:id => "puppet var",
|
1254
|
+
:display_type => "int"
|
1255
|
+
},
|
1256
|
+
:mapred_cluster_map_mem_mb => {
|
1257
|
+
:is_visible => true,
|
1258
|
+
:unit => "MB",
|
1259
|
+
:domain => "global",
|
1260
|
+
:display_name => "Cluster's Map slot size (virtual memory)",
|
1261
|
+
:service_name => "MAPREDUCE",
|
1262
|
+
:default_value => "-1",
|
1263
|
+
:description => "The virtual memory size of a single Map slot in the MapReduce framework",
|
1264
|
+
:name => "mapred_cluster_map_mem_mb",
|
1265
|
+
:id => "puppet var",
|
1266
|
+
:display_type => "int"
|
1267
|
+
},
|
1268
|
+
:mapred_cluster_red_mem_mb => {
|
1269
|
+
:is_visible => true,
|
1270
|
+
:unit => "MB",
|
1271
|
+
:domain => "global",
|
1272
|
+
:display_name => "Cluster's Reduce slot size (virtual memory)",
|
1273
|
+
:service_name => "MAPREDUCE",
|
1274
|
+
:default_value => "-1",
|
1275
|
+
:description => "The virtual memory size of a single Reduce slot in the MapReduce framework",
|
1276
|
+
:name => "mapred_cluster_red_mem_mb",
|
1277
|
+
:id => "puppet var",
|
1278
|
+
:display_type => "int"
|
1279
|
+
},
|
1280
|
+
:mapred_cluster_max_map_mem_mb => {
|
1281
|
+
:is_visible => true,
|
1282
|
+
:unit => "MB",
|
1283
|
+
:domain => "global",
|
1284
|
+
:display_name => "Upper limit on virtual memory for single Map task",
|
1285
|
+
:service_name => "MAPREDUCE",
|
1286
|
+
:default_value => "-1",
|
1287
|
+
:description => "Upper limit on virtual memory size for a single Map task of any MapReduce job",
|
1288
|
+
:name => "mapred_cluster_max_map_mem_mb",
|
1289
|
+
:id => "puppet var",
|
1290
|
+
:display_type => "int"
|
1291
|
+
},
|
1292
|
+
:mapred_cluster_max_red_mem_mb => {
|
1293
|
+
:is_visible => true,
|
1294
|
+
:unit => "MB",
|
1295
|
+
:domain => "global",
|
1296
|
+
:display_name => "Upper limit on virtual memory for single Reduce task",
|
1297
|
+
:service_name => "MAPREDUCE",
|
1298
|
+
:default_value => "-1",
|
1299
|
+
:description => "Upper limit on virtual memory size for a single Reduce task of any MapReduce job",
|
1300
|
+
:name => "mapred_cluster_max_red_mem_mb",
|
1301
|
+
:id => "puppet var",
|
1302
|
+
:display_type => "int"
|
1303
|
+
},
|
1304
|
+
:mapred_job_map_mem_mb => {
|
1305
|
+
:is_visible => true,
|
1306
|
+
:unit => "MB",
|
1307
|
+
:domain => "global",
|
1308
|
+
:display_name => "Default virtual memory for a job's map-task",
|
1309
|
+
:service_name => "MAPREDUCE",
|
1310
|
+
:default_value => "-1",
|
1311
|
+
:description => "Virtual memory for single Map task",
|
1312
|
+
:name => "mapred_job_map_mem_mb",
|
1313
|
+
:id => "puppet var",
|
1314
|
+
:display_type => "int"
|
1315
|
+
},
|
1316
|
+
:mapred_job_red_mem_mb => {
|
1317
|
+
:is_visible => true,
|
1318
|
+
:unit => "MB",
|
1319
|
+
:domain => "global",
|
1320
|
+
:display_name => "Default virtual memory for a job's reduce-task",
|
1321
|
+
:service_name => "MAPREDUCE",
|
1322
|
+
:default_value => "-1",
|
1323
|
+
:description => "Virtual memory for single Reduce task",
|
1324
|
+
:name => "mapred_job_red_mem_mb",
|
1325
|
+
:id => "puppet var",
|
1326
|
+
:display_type => "int"
|
1327
|
+
},
|
1328
|
+
:mapred_child_java_opts_sz => {
|
1329
|
+
:is_visible => true,
|
1330
|
+
:unit => "MB",
|
1331
|
+
:domain => "tasktracker-global",
|
1332
|
+
:display_name => "Java options for MapReduce tasks",
|
1333
|
+
:service_name => "MAPREDUCE",
|
1334
|
+
:default_value => "768",
|
1335
|
+
:category => "TaskTracker",
|
1336
|
+
:description => "Java options for the TaskTracker child processes.",
|
1337
|
+
:name => "mapred_child_java_opts_sz",
|
1338
|
+
:id => "puppet var",
|
1339
|
+
:display_type => "int"
|
1340
|
+
},
|
1341
|
+
:io_sort_mb => {
|
1342
|
+
:is_visible => true,
|
1343
|
+
:unit => "MB",
|
1344
|
+
:domain => "global",
|
1345
|
+
:display_name => "Map-side sort buffer memory",
|
1346
|
+
:service_name => "MAPREDUCE",
|
1347
|
+
:default_value => "200",
|
1348
|
+
:description => "The total amount of Map-side buffer memory to use while sorting files (Expert-only configuration)",
|
1349
|
+
:name => "io_sort_mb",
|
1350
|
+
:id => "puppet var",
|
1351
|
+
:display_type => "int"
|
1352
|
+
},
|
1353
|
+
:io_sort_spill_percent => {
|
1354
|
+
:is_visible => true,
|
1355
|
+
:domain => "global",
|
1356
|
+
:display_name => "Limit on buffer",
|
1357
|
+
:service_name => "MAPREDUCE",
|
1358
|
+
:default_value => "0.9",
|
1359
|
+
:description => "Percentage of sort buffer used for record collection (Expert-only configuration)",
|
1360
|
+
:name => "io_sort_spill_percent",
|
1361
|
+
:id => "puppet var",
|
1362
|
+
:display_type => "float"
|
1363
|
+
},
|
1364
|
+
:mapreduce_userlog_retainhours => {
|
1365
|
+
:is_visible => true,
|
1366
|
+
:unit => "hours",
|
1367
|
+
:domain => "global",
|
1368
|
+
:display_name => "Job log retention (hours)",
|
1369
|
+
:service_name => "MAPREDUCE",
|
1370
|
+
:default_value => "24",
|
1371
|
+
:description => "The maximum time, in hours, for which the user-logs are to be retained after the job completion.",
|
1372
|
+
:name => "mapreduce_userlog_retainhours",
|
1373
|
+
:id => "puppet var",
|
1374
|
+
:display_type => "int"
|
1375
|
+
},
|
1376
|
+
:maxtasks_per_job => {
|
1377
|
+
:is_visible => true,
|
1378
|
+
:domain => "global",
|
1379
|
+
:display_name => "Maximum number tasks for a Job",
|
1380
|
+
:service_name => "MAPREDUCE",
|
1381
|
+
:default_value => "-1",
|
1382
|
+
:description => "Maximum number of tasks for a single Job",
|
1383
|
+
:name => "maxtasks_per_job",
|
1384
|
+
:id => "puppet var",
|
1385
|
+
:display_type => "int"
|
1386
|
+
},
|
1387
|
+
:lzo_enabled => {
|
1388
|
+
:is_visible => true,
|
1389
|
+
:domain => "global",
|
1390
|
+
:display_name => "LZO compression",
|
1391
|
+
:service_name => "MAPREDUCE",
|
1392
|
+
:default_value => false,
|
1393
|
+
:description => "LZO compression enabled",
|
1394
|
+
:name => "lzo_enabled",
|
1395
|
+
:id => "puppet var",
|
1396
|
+
:display_type => "checkbox"
|
1397
|
+
},
|
1398
|
+
:snappy_enabled => {
|
1399
|
+
:is_reconfigurable => false,
|
1400
|
+
:is_visible => true,
|
1401
|
+
:domain => "global",
|
1402
|
+
:display_name => "Snappy compression",
|
1403
|
+
:service_name => "MAPREDUCE",
|
1404
|
+
:default_value => true,
|
1405
|
+
:description => "Snappy compression enabled",
|
1406
|
+
:name => "snappy_enabled",
|
1407
|
+
:id => "puppet var",
|
1408
|
+
:display_type => "checkbox"
|
1409
|
+
},
|
1410
|
+
:rca_enabled => {
|
1411
|
+
:is_reconfigurable => true,
|
1412
|
+
:is_visible => true,
|
1413
|
+
:domain => "global",
|
1414
|
+
:display_name => "Enable RCA",
|
1415
|
+
:service_name => "MAPREDUCE",
|
1416
|
+
:default_value => true,
|
1417
|
+
:description => "Enable RCA",
|
1418
|
+
:name => "rca_enabled",
|
1419
|
+
:id => "puppet var",
|
1420
|
+
:display_type => "checkbox"
|
1421
|
+
},
|
1422
|
+
:mapred_hosts_exclude => {
|
1423
|
+
:is_visible => false,
|
1424
|
+
:domain => "global",
|
1425
|
+
:display_name => "Exclude hosts",
|
1426
|
+
:service_name => "MAPREDUCE",
|
1427
|
+
:default_value => "mapred.exclude",
|
1428
|
+
:category => "Advanced",
|
1429
|
+
:description => "Exclude entered hosts",
|
1430
|
+
:name => "mapred_hosts_exclude",
|
1431
|
+
:id => "puppet var",
|
1432
|
+
:display_type => "directories"
|
1433
|
+
},
|
1434
|
+
:mapred_hosts_include => {
|
1435
|
+
:is_visible => false,
|
1436
|
+
:domain => "global",
|
1437
|
+
:display_name => "Include hosts",
|
1438
|
+
:service_name => "MAPREDUCE",
|
1439
|
+
:default_value => "mapred.include",
|
1440
|
+
:category => "Advanced",
|
1441
|
+
:description => "Include enetered hosts",
|
1442
|
+
:name => "mapred_hosts_include",
|
1443
|
+
:id => "puppet var",
|
1444
|
+
:display_type => "directories"
|
1445
|
+
},
|
1446
|
+
:mapred_jobstatus_dir => {
|
1447
|
+
:is_visible => false,
|
1448
|
+
:domain => "global",
|
1449
|
+
:display_name => "Job Status directory",
|
1450
|
+
:service_name => "MAPREDUCE",
|
1451
|
+
:default_value => "file:////mapred/jobstatus",
|
1452
|
+
:category => "Advanced",
|
1453
|
+
:description => "Directory path to view job status",
|
1454
|
+
:name => "mapred_jobstatus_dir",
|
1455
|
+
:id => "puppet var",
|
1456
|
+
:display_type => "advanced"
|
1457
|
+
},
|
1458
|
+
:task_controller => {
|
1459
|
+
:is_visible => false,
|
1460
|
+
:domain => "global",
|
1461
|
+
:display_name => "task_controller",
|
1462
|
+
:service_name => "MAPREDUCE",
|
1463
|
+
:default_value => "org.apache.hadoop.mapred.DefaultTaskController",
|
1464
|
+
:category => "Advanced",
|
1465
|
+
:description => "",
|
1466
|
+
:name => "task_controller",
|
1467
|
+
:id => "puppet var",
|
1468
|
+
:display_type => "advanced"
|
1469
|
+
},
|
1470
|
+
:java64_home => {
|
1471
|
+
:is_reconfigurable => false,
|
1472
|
+
:is_visible => true,
|
1473
|
+
:domain => "global",
|
1474
|
+
:display_name => "Path to 64-bit JAVA_HOME",
|
1475
|
+
:service_name => "MISC",
|
1476
|
+
:default_value => "/usr/jdk64/jdk1.6.0_31",
|
1477
|
+
:description => "Path to 64-bit JAVA_HOME. /usr/jdk/jdk1.6.0_31 is the default used by Ambari. You can override this to a specific path that contains the JDK. Note that the path must be valid on ALL hosts in your cluster.",
|
1478
|
+
:name => "java64_home",
|
1479
|
+
:is_required => true,
|
1480
|
+
:id => "puppet var",
|
1481
|
+
:display_type => "directory"
|
1482
|
+
},
|
1483
|
+
:run_dir => {
|
1484
|
+
:is_reconfigurable => false,
|
1485
|
+
:is_visible => false,
|
1486
|
+
:domain => "global",
|
1487
|
+
:display_name => "Hadoop run directory",
|
1488
|
+
:service_name => "MISC",
|
1489
|
+
:default_value => "/var/run/hadoop",
|
1490
|
+
:category => "Advanced",
|
1491
|
+
:description => "",
|
1492
|
+
:name => "run_dir",
|
1493
|
+
:is_required => false,
|
1494
|
+
:id => "puppet var",
|
1495
|
+
:display_type => "directory"
|
1496
|
+
},
|
1497
|
+
:hadoop_conf_dir => {
|
1498
|
+
:is_reconfigurable => false,
|
1499
|
+
:is_visible => false,
|
1500
|
+
:domain => "global",
|
1501
|
+
:display_name => "Hadoop conf directory",
|
1502
|
+
:service_name => "MISC",
|
1503
|
+
:default_value => "/etc/hadoop",
|
1504
|
+
:category => "Advanced",
|
1505
|
+
:description => "",
|
1506
|
+
:name => "hadoop_conf_dir",
|
1507
|
+
:is_required => false,
|
1508
|
+
:id => "puppet var",
|
1509
|
+
:display_type => "directory"
|
1510
|
+
},
|
1511
|
+
:namenode_formatted_mark_dir => {
|
1512
|
+
:is_reconfigurable => false,
|
1513
|
+
:is_visible => false,
|
1514
|
+
:domain => "global",
|
1515
|
+
:display_name => "Hadoop formatted mark directory",
|
1516
|
+
:service_name => "HDFS",
|
1517
|
+
:default_value => "/var/run/hadoop/hdfs/namenode/formatted/",
|
1518
|
+
:category => "NameNode",
|
1519
|
+
:description => "",
|
1520
|
+
:name => "namenode_formatted_mark_dir",
|
1521
|
+
:is_required => false,
|
1522
|
+
:id => "puppet var",
|
1523
|
+
:display_type => "directory"
|
1524
|
+
},
|
1525
|
+
:hcat_conf_dir => {
|
1526
|
+
:is_reconfigurable => false,
|
1527
|
+
:is_visible => false,
|
1528
|
+
:domain => "global",
|
1529
|
+
:display_name => "HCat conf directory",
|
1530
|
+
:service_name => "HDFS",
|
1531
|
+
:default_value => "",
|
1532
|
+
:category => "Advanced",
|
1533
|
+
:description => "",
|
1534
|
+
:name => "hcat_conf_dir",
|
1535
|
+
:is_required => false,
|
1536
|
+
:id => "puppet var",
|
1537
|
+
:display_type => "directory"
|
1538
|
+
},
|
1539
|
+
:hcat_metastore_port => {
|
1540
|
+
:is_reconfigurable => false,
|
1541
|
+
:is_visible => false,
|
1542
|
+
:domain => "global",
|
1543
|
+
:display_name => "hcat_metastore_port",
|
1544
|
+
:service_name => "MISC",
|
1545
|
+
:default_value => "/usr/lib/hcatalog/share/hcatalog",
|
1546
|
+
:description => "",
|
1547
|
+
:name => "hcat_metastore_port",
|
1548
|
+
:is_required => true,
|
1549
|
+
:id => "puppet var",
|
1550
|
+
:display_type => "directory"
|
1551
|
+
},
|
1552
|
+
:hcat_lib => {
|
1553
|
+
:is_reconfigurable => false,
|
1554
|
+
:is_visible => false,
|
1555
|
+
:domain => "global",
|
1556
|
+
:display_name => "hcat_lib",
|
1557
|
+
:service_name => "MISC",
|
1558
|
+
:default_value => "/usr/lib/hcatalog/share/hcatalog",
|
1559
|
+
:description => "",
|
1560
|
+
:name => "hcat_lib",
|
1561
|
+
:is_required => true,
|
1562
|
+
:id => "puppet var",
|
1563
|
+
:display_type => "directory"
|
1564
|
+
},
|
1565
|
+
:hcat_dbroot => {
|
1566
|
+
:is_reconfigurable => false,
|
1567
|
+
:is_visible => false,
|
1568
|
+
:domain => "global",
|
1569
|
+
:display_name => "hcat_dbroot",
|
1570
|
+
:service_name => "MISC",
|
1571
|
+
:default_value => "/usr/lib/hcatalog/share/hcatalog",
|
1572
|
+
:description => "",
|
1573
|
+
:name => "hcat_dbroot",
|
1574
|
+
:is_required => true,
|
1575
|
+
:id => "puppet var",
|
1576
|
+
:display_type => "directory"
|
1577
|
+
},
|
1578
|
+
:hcat_dbroot => {
|
1579
|
+
:is_reconfigurable => false,
|
1580
|
+
:is_visible => false,
|
1581
|
+
:domain => "global",
|
1582
|
+
:display_name => "hcat_dbroot",
|
1583
|
+
:service_name => "MISC",
|
1584
|
+
:default_value => "/usr/lib/hcatalog/share/hcatalog",
|
1585
|
+
:description => "",
|
1586
|
+
:name => "hcat_dbroot",
|
1587
|
+
:is_required => true,
|
1588
|
+
:id => "puppet var",
|
1589
|
+
:display_type => "directory"
|
1590
|
+
},
|
1591
|
+
:hdfs_user => {
|
1592
|
+
:is_reconfigurable => false,
|
1593
|
+
:is_visible => true,
|
1594
|
+
:domain => "global",
|
1595
|
+
:display_name => "HDFS User",
|
1596
|
+
:service_name => "MISC",
|
1597
|
+
:default_value => "hdfs",
|
1598
|
+
:category => "Users and Groups",
|
1599
|
+
:description => "User to run HDFS as",
|
1600
|
+
:name => "hdfs_user",
|
1601
|
+
:id => "puppet var",
|
1602
|
+
:display_type => "user"
|
1603
|
+
},
|
1604
|
+
:mapred_user => {
|
1605
|
+
:is_reconfigurable => false,
|
1606
|
+
:is_visible => true,
|
1607
|
+
:domain => "global",
|
1608
|
+
:display_name => "MapReduce User",
|
1609
|
+
:service_name => "MISC",
|
1610
|
+
:default_value => "mapred",
|
1611
|
+
:category => "Users and Groups",
|
1612
|
+
:description => "User to run MapReduce as",
|
1613
|
+
:name => "mapred_user",
|
1614
|
+
:id => "puppet var",
|
1615
|
+
:display_type => "user"
|
1616
|
+
},
|
1617
|
+
:hbase_user => {
|
1618
|
+
:is_reconfigurable => false,
|
1619
|
+
:is_visible => true,
|
1620
|
+
:domain => "global",
|
1621
|
+
:display_name => "HBase User",
|
1622
|
+
:service_name => "MISC",
|
1623
|
+
:default_value => "hbase",
|
1624
|
+
:category => "Users and Groups",
|
1625
|
+
:description => "User to run HBase as",
|
1626
|
+
:name => "hbase_user",
|
1627
|
+
:id => "puppet var",
|
1628
|
+
:display_type => "user"
|
1629
|
+
},
|
1630
|
+
:hive_user => {
|
1631
|
+
:is_reconfigurable => false,
|
1632
|
+
:is_visible => true,
|
1633
|
+
:domain => "global",
|
1634
|
+
:display_name => "Hive User",
|
1635
|
+
:service_name => "MISC",
|
1636
|
+
:default_value => "hive",
|
1637
|
+
:category => "Users and Groups",
|
1638
|
+
:description => "User to run Hive as",
|
1639
|
+
:name => "hive_user",
|
1640
|
+
:id => "puppet var",
|
1641
|
+
:display_type => "user"
|
1642
|
+
},
|
1643
|
+
:hcat_user => {
|
1644
|
+
:is_reconfigurable => false,
|
1645
|
+
:is_visible => true,
|
1646
|
+
:domain => "global",
|
1647
|
+
:display_name => "HCat User",
|
1648
|
+
:service_name => "MISC",
|
1649
|
+
:default_value => "hcat",
|
1650
|
+
:category => "Users and Groups",
|
1651
|
+
:description => "User to run HCatalog as",
|
1652
|
+
:name => "hcat_user",
|
1653
|
+
:id => "puppet var",
|
1654
|
+
:display_type => "user"
|
1655
|
+
},
|
1656
|
+
:templeton_user => {
|
1657
|
+
:is_reconfigurable => false,
|
1658
|
+
:is_visible => true,
|
1659
|
+
:domain => "global",
|
1660
|
+
:display_name => "Templeton User",
|
1661
|
+
:service_name => "MISC",
|
1662
|
+
:default_value => "templeton",
|
1663
|
+
:category => "Users and Groups",
|
1664
|
+
:description => "User to run Templeton as",
|
1665
|
+
:name => "templeton_user",
|
1666
|
+
:id => "puppet var",
|
1667
|
+
:display_type => "user"
|
1668
|
+
},
|
1669
|
+
:oozie_user => {
|
1670
|
+
:is_reconfigurable => false,
|
1671
|
+
:is_visible => true,
|
1672
|
+
:domain => "global",
|
1673
|
+
:display_name => "Oozie User",
|
1674
|
+
:service_name => "MISC",
|
1675
|
+
:default_value => "oozie",
|
1676
|
+
:category => "Users and Groups",
|
1677
|
+
:description => "User to run Oozie as",
|
1678
|
+
:name => "oozie_user",
|
1679
|
+
:id => "puppet var",
|
1680
|
+
:display_type => "user"
|
1681
|
+
},
|
1682
|
+
:oozie_conf_dir => {
|
1683
|
+
:is_reconfigurable => false,
|
1684
|
+
:is_visible => false,
|
1685
|
+
:domain => "global",
|
1686
|
+
:display_name => "Oozie conf dir",
|
1687
|
+
:service_name => "MISC",
|
1688
|
+
:default_value => "/etc/oozie",
|
1689
|
+
:category => "General",
|
1690
|
+
:description => "",
|
1691
|
+
:name => "oozie_conf_dir",
|
1692
|
+
:id => "puppet var",
|
1693
|
+
:display_type => "directory"
|
1694
|
+
},
|
1695
|
+
:pig_conf_dir => {
|
1696
|
+
:is_reconfigurable => false,
|
1697
|
+
:is_visible => false,
|
1698
|
+
:domain => "global",
|
1699
|
+
:display_name => "Pig conf dir",
|
1700
|
+
:service_name => "MISC",
|
1701
|
+
:default_value => "/etc/pig",
|
1702
|
+
:category => "General",
|
1703
|
+
:description => "",
|
1704
|
+
:name => "pig_conf_dir",
|
1705
|
+
:id => "puppet var",
|
1706
|
+
:display_type => "directory"
|
1707
|
+
},
|
1708
|
+
:pig_user => {
|
1709
|
+
:is_reconfigurable => false,
|
1710
|
+
:is_visible => true,
|
1711
|
+
:domain => "global",
|
1712
|
+
:display_name => "Pig User",
|
1713
|
+
:service_name => "MISC",
|
1714
|
+
:default_value => "pig",
|
1715
|
+
:category => "Users and Groups",
|
1716
|
+
:description => "User to run Pig as",
|
1717
|
+
:name => "pig_user",
|
1718
|
+
:id => "puppet var",
|
1719
|
+
:display_type => "user"
|
1720
|
+
},
|
1721
|
+
:sqoop_conf_dir => {
|
1722
|
+
:is_reconfigurable => false,
|
1723
|
+
:is_visible => false,
|
1724
|
+
:domain => "global",
|
1725
|
+
:display_name => "sqoop conf dir",
|
1726
|
+
:service_name => "MISC",
|
1727
|
+
:default_value => "/etc/sqoop",
|
1728
|
+
:category => "General",
|
1729
|
+
:description => "",
|
1730
|
+
:name => "sqoop_conf_dir",
|
1731
|
+
:id => "puppet var",
|
1732
|
+
:display_type => "directory"
|
1733
|
+
},
|
1734
|
+
:sqoop_lib => {
|
1735
|
+
:is_reconfigurable => false,
|
1736
|
+
:is_visible => false,
|
1737
|
+
:domain => "global",
|
1738
|
+
:display_name => "sqoop conf dir",
|
1739
|
+
:service_name => "MISC",
|
1740
|
+
:default_value => "/usr/lib/sqoop/lib/",
|
1741
|
+
:category => "General",
|
1742
|
+
:description => "",
|
1743
|
+
:name => "sqoop_lib",
|
1744
|
+
:id => "puppet var",
|
1745
|
+
:display_type => "directory"
|
1746
|
+
},
|
1747
|
+
:sqoop_user => {
|
1748
|
+
:is_reconfigurable => false,
|
1749
|
+
:is_visible => true,
|
1750
|
+
:domain => "global",
|
1751
|
+
:display_name => "Sqoop User",
|
1752
|
+
:service_name => "MISC",
|
1753
|
+
:default_value => "sqoop",
|
1754
|
+
:category => "Users and Groups",
|
1755
|
+
:description => "User to run Sqoop as",
|
1756
|
+
:name => "sqoop_user",
|
1757
|
+
:id => "puppet var",
|
1758
|
+
:display_type => "user"
|
1759
|
+
},
|
1760
|
+
:zk_user => {
|
1761
|
+
:is_reconfigurable => false,
|
1762
|
+
:is_visible => true,
|
1763
|
+
:domain => "global",
|
1764
|
+
:display_name => "ZooKeeper User",
|
1765
|
+
:service_name => "MISC",
|
1766
|
+
:default_value => "zookeeper",
|
1767
|
+
:category => "Users and Groups",
|
1768
|
+
:description => "User to run ZooKeeper as",
|
1769
|
+
:name => "zk_user",
|
1770
|
+
:id => "puppet var",
|
1771
|
+
:display_type => "user"
|
1772
|
+
},
|
1773
|
+
:user_group => {
|
1774
|
+
:is_reconfigurable => false,
|
1775
|
+
:is_visible => true,
|
1776
|
+
:domain => "global",
|
1777
|
+
:display_name => "Group",
|
1778
|
+
:service_name => "MISC",
|
1779
|
+
:default_value => "hadoop",
|
1780
|
+
:category => "Users and Groups",
|
1781
|
+
:description => "Group that the users specified above belong to",
|
1782
|
+
:name => "user_group",
|
1783
|
+
:id => "puppet var",
|
1784
|
+
:display_type => "user"
|
1785
|
+
},
|
1786
|
+
:nagios_user => {
|
1787
|
+
:is_reconfigurable => false,
|
1788
|
+
:is_visible => false,
|
1789
|
+
:domain => "global",
|
1790
|
+
:display_name => "Nagios username",
|
1791
|
+
:service_name => "NAGIOS",
|
1792
|
+
:default_value => "nagios",
|
1793
|
+
:description => "Nagios username",
|
1794
|
+
:name => "nagios_user",
|
1795
|
+
:id => "puppet var",
|
1796
|
+
:display_type => "user"
|
1797
|
+
},
|
1798
|
+
:nagios_group => {
|
1799
|
+
:is_reconfigurable => false,
|
1800
|
+
:is_visible => false,
|
1801
|
+
:domain => "global",
|
1802
|
+
:display_name => "Nagios username",
|
1803
|
+
:service_name => "NAGIOS",
|
1804
|
+
:default_value => "nagios",
|
1805
|
+
:description => "Nagios username",
|
1806
|
+
:name => "nagios_group",
|
1807
|
+
:id => "puppet var",
|
1808
|
+
:display_type => "user"
|
1809
|
+
},
|
1810
|
+
:nagios_web_login => {
|
1811
|
+
:is_reconfigurable => false,
|
1812
|
+
:is_visible => true,
|
1813
|
+
:domain => "global",
|
1814
|
+
:display_name => "Nagios Admin username",
|
1815
|
+
:service_name => "NAGIOS",
|
1816
|
+
:default_value => "nagiosadmin",
|
1817
|
+
:description => "Nagios Web UI Admin username",
|
1818
|
+
:name => "nagios_web_login",
|
1819
|
+
:id => "puppet var",
|
1820
|
+
:display_type => "user"
|
1821
|
+
},
|
1822
|
+
:nagios_web_password => {
|
1823
|
+
:is_reconfigurable => false,
|
1824
|
+
:is_visible => true,
|
1825
|
+
:domain => "global",
|
1826
|
+
:display_name => "Nagios Admin password",
|
1827
|
+
:service_name => "NAGIOS",
|
1828
|
+
:default_value => "",
|
1829
|
+
:description => "Nagios Web UI Admin password",
|
1830
|
+
:name => "nagios_web_password",
|
1831
|
+
:id => "puppet var",
|
1832
|
+
:display_type => "password"
|
1833
|
+
},
|
1834
|
+
:nagios_contact => {
|
1835
|
+
:is_visible => true,
|
1836
|
+
:domain => "global",
|
1837
|
+
:display_name => "Hadoop Admin email",
|
1838
|
+
:service_name => "NAGIOS",
|
1839
|
+
:default_value => "",
|
1840
|
+
:description => "Hadoop Administrator email for alert notification",
|
1841
|
+
:name => "nagios_contact",
|
1842
|
+
:id => "puppet var",
|
1843
|
+
:display_type => "email"
|
1844
|
+
},
|
1845
|
+
:oozieserver_host => {
|
1846
|
+
:is_visible => true,
|
1847
|
+
:value => "",
|
1848
|
+
:domain => "global",
|
1849
|
+
:display_name => "Oozie Server host",
|
1850
|
+
:service_name => "OOZIE",
|
1851
|
+
:default_value => "",
|
1852
|
+
:category => "Oozie Server",
|
1853
|
+
:description => "The host that has been assigned to run Oozie Server",
|
1854
|
+
:name => "oozieserver_host",
|
1855
|
+
:id => "puppet var",
|
1856
|
+
:display_type => "masterHost"
|
1857
|
+
},
|
1858
|
+
:oozie_data_dir => {
|
1859
|
+
:is_reconfigurable => false,
|
1860
|
+
:is_visible => true,
|
1861
|
+
:domain => "global",
|
1862
|
+
:display_name => "Oozie Data Dir",
|
1863
|
+
:service_name => "OOZIE",
|
1864
|
+
:default_value => "",
|
1865
|
+
:category => "Oozie Server",
|
1866
|
+
:description => "Data directory in which the Oozie DB exists",
|
1867
|
+
:name => "oozie_data_dir",
|
1868
|
+
:is_required => false,
|
1869
|
+
:id => "puppet var",
|
1870
|
+
:display_type => "directory"
|
1871
|
+
},
|
1872
|
+
:oozie_log_dir => {
|
1873
|
+
:is_reconfigurable => false,
|
1874
|
+
:is_visible => true,
|
1875
|
+
:domain => "global",
|
1876
|
+
:display_name => "Oozie Log Dir",
|
1877
|
+
:service_name => "OOZIE",
|
1878
|
+
:default_value => "/var/log/oozie",
|
1879
|
+
:category => "Advanced",
|
1880
|
+
:description => "Directory for oozie logs",
|
1881
|
+
:name => "oozie_log_dir",
|
1882
|
+
:id => "puppet var",
|
1883
|
+
:display_type => "directory"
|
1884
|
+
},
|
1885
|
+
:oozie_pid_dir => {
|
1886
|
+
:is_reconfigurable => false,
|
1887
|
+
:is_visible => true,
|
1888
|
+
:domain => "global",
|
1889
|
+
:display_name => "Oozie PID Dir",
|
1890
|
+
:service_name => "OOZIE",
|
1891
|
+
:default_value => "/var/run/oozie",
|
1892
|
+
:category => "Advanced",
|
1893
|
+
:description => "Directory in which the pid files for oozie processes will be created",
|
1894
|
+
:name => "oozie_pid_dir",
|
1895
|
+
:id => "puppet var",
|
1896
|
+
:display_type => "directory"
|
1897
|
+
},
|
1898
|
+
:zookeeperserver_hosts => {
|
1899
|
+
:is_visible => true,
|
1900
|
+
:value => "",
|
1901
|
+
:display_name => "ZooKeeper Server hosts",
|
1902
|
+
:service_name => "ZOOKEEPER",
|
1903
|
+
:default_value => "",
|
1904
|
+
:category => "ZooKeeper Server",
|
1905
|
+
:description => "The host that has been assigned to run ZooKeeper Server",
|
1906
|
+
:name => "zookeeperserver_hosts",
|
1907
|
+
:is_required => false,
|
1908
|
+
:id => "puppet var",
|
1909
|
+
:display_type => "masterHosts"
|
1910
|
+
},
|
1911
|
+
:zk_data_dir => {
|
1912
|
+
:is_reconfigurable => false,
|
1913
|
+
:is_visible => true,
|
1914
|
+
:domain => "global",
|
1915
|
+
:default_directory => "hadoop/zookeeper",
|
1916
|
+
:display_name => "ZooKeeper directory",
|
1917
|
+
:service_name => "ZOOKEEPER",
|
1918
|
+
:default_value => "/grid/0/hadoop/zookeeper",
|
1919
|
+
:category => "ZooKeeper Server",
|
1920
|
+
:description => "Data directory for ZooKeeper",
|
1921
|
+
:name => "zk_data_dir",
|
1922
|
+
:id => "puppet var",
|
1923
|
+
:display_type => "directory"
|
1924
|
+
},
|
1925
|
+
:zk_log_dir => {
|
1926
|
+
:is_reconfigurable => false,
|
1927
|
+
:is_visible => true,
|
1928
|
+
:domain => "global",
|
1929
|
+
:display_name => "ZooKeeper Log Dir",
|
1930
|
+
:service_name => "ZOOKEEPER",
|
1931
|
+
:default_value => "/var/log/zookeeper",
|
1932
|
+
:category => "Advanced",
|
1933
|
+
:description => "Directory for ZooKeeper log files",
|
1934
|
+
:name => "zk_log_dir",
|
1935
|
+
:id => "puppet var",
|
1936
|
+
:display_type => "directory"
|
1937
|
+
},
|
1938
|
+
:zk_pid_dir => {
|
1939
|
+
:is_reconfigurable => false,
|
1940
|
+
:is_visible => true,
|
1941
|
+
:domain => "global",
|
1942
|
+
:display_name => "ZooKeeper PID Dir",
|
1943
|
+
:service_name => "ZOOKEEPER",
|
1944
|
+
:default_value => "/var/run/zookeeper",
|
1945
|
+
:category => "Advanced",
|
1946
|
+
:description => "Directory in which the pid files for zookeeper processes will be created",
|
1947
|
+
:name => "zk_pid_dir",
|
1948
|
+
:id => "puppet var",
|
1949
|
+
:display_type => "directory"
|
1950
|
+
},
|
1951
|
+
:zk_pid_file => {
|
1952
|
+
:is_reconfigurable => false,
|
1953
|
+
:is_visible => false,
|
1954
|
+
:domain => "global",
|
1955
|
+
:display_name => "ZooKeeper PID File",
|
1956
|
+
:service_name => "ZOOKEEPER",
|
1957
|
+
:default_value => "/var/run/zookeeper/zookeeper_server.pid",
|
1958
|
+
:category => "Advanced",
|
1959
|
+
:description => "",
|
1960
|
+
:name => "zk_pid_file",
|
1961
|
+
:id => "puppet var",
|
1962
|
+
:display_type => "directory"
|
1963
|
+
},
|
1964
|
+
:tickTime => {
|
1965
|
+
:is_visible => true,
|
1966
|
+
:unit => "ms",
|
1967
|
+
:domain => "global",
|
1968
|
+
:display_name => "Length of single Tick",
|
1969
|
+
:service_name => "ZOOKEEPER",
|
1970
|
+
:default_value => "2000",
|
1971
|
+
:category => "ZooKeeper Server",
|
1972
|
+
:description => "The length of a single tick in milliseconds, which is the basic time unit used by ZooKeeper",
|
1973
|
+
:name => "tickTime",
|
1974
|
+
:id => "puppet var",
|
1975
|
+
:display_type => "int"
|
1976
|
+
},
|
1977
|
+
:initLimit => {
|
1978
|
+
:is_visible => true,
|
1979
|
+
:domain => "global",
|
1980
|
+
:display_name => "Ticks to allow for sync at Init",
|
1981
|
+
:service_name => "ZOOKEEPER",
|
1982
|
+
:default_value => "10",
|
1983
|
+
:category => "ZooKeeper Server",
|
1984
|
+
:description => "Amount of time, in ticks to allow followers to connect and sync to a leader",
|
1985
|
+
:name => "initLimit",
|
1986
|
+
:id => "puppet var",
|
1987
|
+
:display_type => "int"
|
1988
|
+
},
|
1989
|
+
:syncLimit => {
|
1990
|
+
:is_visible => true,
|
1991
|
+
:domain => "global",
|
1992
|
+
:display_name => "Ticks to allow for sync at Runtime",
|
1993
|
+
:service_name => "ZOOKEEPER",
|
1994
|
+
:default_value => "5",
|
1995
|
+
:category => "ZooKeeper Server",
|
1996
|
+
:description => "Amount of time, in ticks to allow followers to connect",
|
1997
|
+
:name => "syncLimit",
|
1998
|
+
:id => "puppet var",
|
1999
|
+
:display_type => "int"
|
2000
|
+
},
|
2001
|
+
:clientPort => {
|
2002
|
+
:is_visible => true,
|
2003
|
+
:domain => "global",
|
2004
|
+
:display_name => "Port for running ZK Server",
|
2005
|
+
:service_name => "ZOOKEEPER",
|
2006
|
+
:default_value => "2181",
|
2007
|
+
:category => "ZooKeeper Server",
|
2008
|
+
:description => "Port for running ZooKeeper server",
|
2009
|
+
:name => "clientPort",
|
2010
|
+
:id => "puppet var",
|
2011
|
+
:display_type => "int"
|
2012
|
+
},
|
2013
|
+
:zk_conf_dir => {
|
2014
|
+
:is_visible => false,
|
2015
|
+
:domain => "global",
|
2016
|
+
:display_name => "zk_conf_dir",
|
2017
|
+
:service_name => "MISC",
|
2018
|
+
:default_value => "/etc/conf/",
|
2019
|
+
:category => "General",
|
2020
|
+
:description => "",
|
2021
|
+
:name => "zk_conf_dir",
|
2022
|
+
:id => "puppet var",
|
2023
|
+
:display_type => "directory"
|
2024
|
+
}
|
2025
|
+
}
|
2026
|
+
end
|
2027
|
+
end
|