/
config.json
73 lines (73 loc) · 1.82 KB
/
config.json
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
{
"type": "object",
"properties": {
"hdfs": {
"type": "object",
"properties": {
"custom-config": {
"description": "Custom mesos-site.xml (base64 encoded)",
"type": "string"
},
"framework-name": {
"description": "The name of the framework. Until this is configurable, please do not change this from it's default value.",
"type": "string",
"default": "hdfs"
},
"framework-version": {
"description": "Framework version",
"type": "string",
"default": "hdfs-mesos-0.1.8"
},
"cpus": {
"default": 0.5,
"description": "CPU shares to allocate to each Marathon instance.",
"minimum": 0.0,
"type": "number"
},
"mem": {
"default": 512.0,
"description": "Memory (MB) to allocate to each Marathon task.",
"minimum": 512.0,
"type": "number"
},
"instances": {
"default": 1,
"description": "Number of Marathon instances to run.",
"minimum": 0,
"type": "integer"
},
"disk-size": {
"default": 100,
"description": "Number of Marathon instances to run.",
"minimum": 0,
"type": "integer"
},
"role": {
"description": "Framework role",
"type": "string",
"default": "*"
},
"jre-version": {
"description": "JRE version",
"type": "string",
"default": "jre1.7.0_76"
},
"ld-library-path": {
"description": "Library path",
"type": "string",
"default": "/opt/mesosphere/lib"
}
},
"required": [
"framework-name",
"ld-library-path",
"jre-version",
"framework-version",
"cpus",
"mem",
"instances",
"disk-size"
]
}
}
}