forked from logicalclocks/hive-chef
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
117 lines (91 loc) · 3.63 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
name "hive2"
maintainer "Jim Dowling"
maintainer_email "[email protected]"
license "Apache v2"
description 'Installs/Configures Hive Server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "3.3.0"
source_url "https://github.com/hopshadoop/hive-chef"
depends 'magic_shell', '~> 1.0.0'
depends 'compat_resource', '~> 12.19.0'
depends 'authbind', '~> 0.1.10'
depends 'ntp', '~> 2.0.0'
depends 'kagent'
depends 'hops'
depends 'ndb'
depends 'conda'
depends 'consul'
depends 'ulimit'
depends 'java'
recipe "install", "Installs a Hive2 Server"
recipe "default", "Starts both a Hive metastore and server2 and tez"
recipe "metastore", "Starts a Hive Metastore Server"
recipe "server2", "Starts a Hive Server2"
recipe "tez", "Install Tez"
recipe "purge", "Removes and deletes an installed Hive Server"
attribute "hive2/user",
:description => "User to install/run as",
:type => 'string'
attribute "hive2/user-home",
:description => "Home directory of hive user",
:type => 'string'
attribute "hive2/dir",
:description => "base dir for installation",
:type => 'string'
attribute "hive2/version",
:dscription => "hive version",
:type => "string"
attribute "hive2/url",
:dscription => "hive download url",
:type => "string"
attribute "hive2/port",
:dscription => "hive.port",
:type => "string"
attribute "hive2/home",
:dscription => "hive.home",
:type => "string"
attribute "hive2/mysql_user",
:dscription => "mysql user account for hive",
:type => "string"
attribute "hive2/mysql_password",
:dscription => "mysql user account for hive",
:type => "string"
attribute "hive2/metastore/port",
:description => "metastore port",
:type => "string"
attribute "hive2/metastore/enforce_authority",
:description => "Enforce warehouse authority to be the same as the one specified in the metastore.warehouse.dir option (default true)",
:type => "string"
attribute "hive2/server/xmx",
:description => "Xmx configuration for hive server2 (default: 2g)",
:type => "string"
attribute "hive2/server/xms",
:description => "Xms configuration for hive server2 (default: 2g)",
:type => "string"
attribute "hive2/metastore/xmx",
:description => "Xmx configuration for hive metastore (default: 2g)",
:type => "string"
attribute "hive2/metastore/xms",
:description => "Xms configuration for hive metastore (default: 2g)",
:type => "string"
attribute "hive2/scratch_dir",
:description => "Hive Tez Scratch dir location",
:type => "string"
attribute "hive2/conf/mapreduce_input_size",
:description => "Configure the property: mapreduce.input.fileinputformat.split.minsize - doesn't like units",
:type => "string"
attribute "install/dir",
:description => "Set to a base directory under which we will install.",
:type => "string"
attribute "install/user",
:description => "User to install the services as",
:type => "string"
attribute "tez/user",
:description => "User to install/run tez as",
:type => 'string'
attribute "hive2/hudi_hadoop_mr_bundle_url",
:description => "URL for downloading hudi bundle jar to put in /lib of Hive installation",
:type => 'string'
attribute "hive2/hudi_version",
:description => "the hudi version",
:type => "string"