-
Notifications
You must be signed in to change notification settings - Fork 1
/
properties.yaml
120 lines (119 loc) · 3.19 KB
/
properties.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
version: 0.1.0
spec:
units:
- unit: &unitUri
name: "uri"
regex: "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"
examples:
- "ldap://[2001:db8::7]/c=GB?objectClass?one"
comment: "Specified in https://tools.ietf.org/html/rfc3986#appendix-B"
- unit: &unitDirectory
name: "directory"
regex: "^/|(/[\\w-]+)+$"
examples:
- "/tmp/xyz"
- unit: &unitClassName
name: "classname"
regex: "([a-zA-Z_$][a-zA-Z\\d_$]*\\.)*[a-zA-Z_$][a-zA-Z\\d_$]*"
examples:
- "org.apache.derby.jdbc.EmbeddedDriver"
properties:
- property:
propertyNames:
- name: "javax.jdo.option.ConnectionURL"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "string"
# unit: *unitUri
roles:
- name: "metastore"
required: true
asOfVersion: "0.0.0"
description: "JDBC connect string for a JDBC metastore.
To use SSL to encrypt/authenticate the connection, provide database-specific SSL flag in the connection URL.
For example, jdbc:postgresql://myhost/db?ssl=true for postgres database."
- property:
propertyNames:
- name: "javax.jdo.option.ConnectionDriverName"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "string"
unit: *unitClassName
roles:
- name: "metastore"
required: true
asOfVersion: "0.0.0"
- property:
propertyNames:
- name: "javax.jdo.option.ConnectionUserName"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "string"
roles:
- name: "metastore"
required: true
asOfVersion: "0.0.0"
- property:
propertyNames:
- name: "javax.jdo.option.ConnectionPassword"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "string"
roles:
- name: "metastore"
required: true
asOfVersion: "0.0.0"
- property:
propertyNames:
- name: "hive.metastore.port"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "integer"
min: "1024"
max: "65535"
defaultValues:
- value: "9083"
roles:
- name: "metastore"
required: true
asOfVersion: "0.0.0"
- property:
propertyNames:
- name: "hive.metastore.metrics.enabled"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "bool"
defaultValues:
- value: "false"
roles:
- name: "metastore"
required: false
asOfVersion: "0.0.0"
- property:
propertyNames:
- name: "hive.metastore.warehouse.dir"
kind:
type: "file"
file: "hive-site.xml"
datatype:
type: "string"
unit: *unitUri
defaultValues:
- value: "/user/hive/warehouse"
roles:
- name: "metastore"
required: false
description: "URI of the default location for native tables."
asOfVersion: "0.0.0"