Skip to content

Commit 1e34299

Browse files
author
Jim Dowling
committed
metadata fixes
1 parent f7504bc commit 1e34299

File tree

2 files changed

+25
-28
lines changed

2 files changed

+25
-28
lines changed

Berksfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ source 'https://supermarket.chef.io'
33

44
metadata
55

6-
76
cookbook 'java'
8-
cookbook 'ndb', '~> 0.2.1'
97
cookbook 'kagent', '~> 0.1.3'
8+
cookbook 'ndb', '~> 0.2.1'
109
cookbook 'apache_hadoop', '~> 0.1.1'
1110
cookbook 'hops', '~> 0.1.1'

metadata.rb

+24-26
Original file line numberDiff line numberDiff line change
@@ -21,51 +21,49 @@
2121
recipe "historyserver", "Installs/starts the Spark historyserver"
2222

2323
attribute "java/jdk_version",
24-
:display_name => "Jdk version",
25-
:type => 'string'
24+
:display_name => "Jdk version",
25+
:type => 'string'
2626

2727
attribute "hadoop_spark/user",
28-
:display_name => "Username to run spark master/worker as",
29-
:type => 'string'
28+
:display_name => "Username to run spark master/worker as",
29+
:type => 'string'
3030

3131
attribute "hadoop_spark/group",
32-
:display_name => "Groupname to run spark master/worker as",
33-
:type => 'string'
32+
:display_name => "Groupname to run spark master/worker as",
33+
:type => 'string'
3434

3535
attribute "hadoop_spark/executor_memory",
36-
:display_name => "Executor memory (e.g., 512m)",
37-
:type => 'string'
36+
:display_name => "Executor memory (e.g., 512m)",
37+
:type => 'string'
3838

3939
attribute "hadoop_spark/driver_memory",
40-
:display_name => "Driver memory (e.g., 1g)",
41-
:type => 'string'
40+
:display_name => "Driver memory (e.g., 1g)",
41+
:type => 'string'
4242

4343
attribute "hadoop_spark/eventlog_enabled",
44-
:display_name => "Eventlog enabled (true|false)",
45-
:type => 'string'
44+
:display_name => "Eventlog enabled (true|false)",
45+
:type => 'string'
4646

4747
attribute "hadoop_spark/worker/cleanup/enabled",
48-
:display_name => "Spark standalone worker cleanup enabled (true|false)",
49-
:type => 'string'
48+
:display_name => "Spark standalone worker cleanup enabled (true|false)",
49+
:type => 'string'
5050

5151
attribute "hadoop_spark/version",
52-
:display_name => "Spark version (e.g., 1.4.1 or 1.5.2 or 1.6.0)",
53-
:type => 'string'
52+
:display_name => "Spark version (e.g., 1.4.1 or 1.5.2 or 1.6.0)",
53+
:type => 'string'
5454

5555
attribute "hadoop_spark/hadoop/distribution",
56-
:display_name => "'hops' or 'apache_hadoop'",
57-
:type => 'string'
56+
:display_name => "'hops' or 'apache_hadoop'",
57+
:type => 'string'
5858

5959
attribute "hadoop_spark/history/fs/cleaner/enabled",
60-
:display_name => "'true' to enable cleanup of the historyservers logs",
61-
:type => 'string'
60+
:display_name => "'true' to enable cleanup of the historyservers logs",
61+
:type => 'string'
6262

6363
attribute "hadoop_spark/history/fs/cleaner/interval",
64-
:display_name => "How often to run the cleanup of the historyservers logs (e.g., '1d' for once per day)",
65-
:type => 'string'
64+
:display_name => "How often to run the cleanup of the historyservers logs (e.g., '1d' for once per day)",
65+
:type => 'string'
6666

6767
attribute "hadoop_spark/history/fs/cleaner/maxAge",
68-
:display_name => "Age in days of the historyservers logs before they are removed (e.g., '7d' for 7 days)",
69-
:type => 'string'
70-
71-
68+
:display_name => "Age in days of the historyservers logs before they are removed (e.g., '7d' for 7 days)",
69+
:type => 'string'

0 commit comments

Comments
 (0)