• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo: Commit

Grid環境構築用のChefリポジトリです。


Commit MetaInfo

Révisionfc5a1569c1732b09986482f1aefe6a14e8354803 (tree)
l'heure2016-01-08 21:34:32
Auteurwhitestar <whitestar@gaea...>
Commiterwhitestar

Message de Log

update documents of grid cookbook.

Change Summary

Modification

--- a/cookbooks/grid/CHANGELOG.md
+++ b/cookbooks/grid/CHANGELOG.md
@@ -1,12 +1,10 @@
11 # CHANGELOG for grid
22
3-This file is used to list changes made in each version of grid.
3+0.1.1
4+-----
5+- Documentation update.
46
5-## 0.1.0:
7+0.1.0
8+-----
9+- Initial release of grid
610
7-* Initial release of grid
8-
9-- - -
10-Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
11-
12-The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
--- a/cookbooks/grid/README.md
+++ b/cookbooks/grid/README.md
@@ -1,68 +1,78 @@
11 grid Cookbook
22 =============
3-TODO: Enter the cookbook description here.
43
5-e.g.
6-This cookbook makes your favorite breakfast sandwhich.
4+This cookbook provides some attributes for distributed computing environment and some operarional commands.
75
86 Requirements
97 ------------
10-TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
118
12-e.g.
13-#### packages
14-- `toaster` - grid needs toaster to brown your bagel.
9+Nothing.
1510
1611 Attributes
1712 ----------
18-TODO: List you cookbook attributes here.
1913
20-e.g.
21-#### grid::default
22-<table>
23- <tr>
24- <th>Key</th>
25- <th>Type</th>
26- <th>Description</th>
27- <th>Default</th>
28- </tr>
29- <tr>
30- <td><tt>['grid']['bacon']</tt></td>
31- <td>Boolean</td>
32- <td>whether to include bacon</td>
33- <td><tt>true</tt></td>
34- </tr>
35-</table>
14+|Key|Type|Description, example|Default|
15+|:--|:--|:--|:--|
16+|`['grid']['etc_root']`|String|Configuration directory for grid.|`'/grid/etc'`|
17+|`['grid']['app_root']`|String|Application root directory for grid.|`'/grid/usr'`|
18+|`['grid']['vol_root']`|String|Data volume root directory for grid.|`'/grid/vol'`|
19+|`['grid']['max_vol_nums']`|String|Max data volumes|`'1'`|
20+|`['grid']['cacert']['path']`|String|Grid CA certificate file path.|`'/etc/ssl/certs/grid_internal_cacert.pem'`|
21+|`['grid']['cacert']['source']`|String|CA certificate source file path.|`'etc/ssl/certs/grid_internal_cacert.pem'`|
22+|`['grid']['gridctl']['env']['DOMAIN']`|String|e.g. `'grid.example.com'`|`''` (for localhost; pseudo distributed env.)|
23+|`['grid']['gridctl']['env']['HADOOP_ARTIFACT_TYPE']`|String|'package' or 'tarball'|`''`|
24+|`['grid']['gridctl']['env']['HADOOP_DISTRIBUTION']`|String|'apache'or 'cdh(3 or 4)'|`'hdp'`|
25+|`['grid']['gridctl']['env']['HADOOP_HOME']`|String|e.g. `'/grid/usr/hadoop'`|`''`|
26+|`['grid']['gridctl']['env']['HADOOP_PREFIX']`|String|e.g. `'$HADOOP_HOME'`|`''`|
27+|`['grid']['gridctl']['env']['HADOOP_CONF_DIR']`|String||`''`|
28+|`['grid']['gridctl']['env']['HDFS_USER']`|String||`'hdfs'`|
29+|`['grid']['gridctl']['env']['MAPRED_USER']`|String||`'mapred'`|
30+|`['grid']['gridctl']['env']['DN_INIT_USER']`|String||`'root'`|
31+|`['grid']['gridctl']['env']['NAMENODE']`|String|e.g. `'nn00'`|`'localhost'`|
32+|`['grid']['gridctl']['env']['SECONDARYNAMENODE']`|String|e.g. `'nn02'`|`'localhost'`|
33+|`['grid']['gridctl']['env']['DATANODES']`|String|e.g. `'dn00000 dn00001'`|`'localhost'`|
34+|`['grid']['gridctl']['env']['BALANCER']`|String||`'localhost'`|
35+|`['grid']['gridctl']['env']['JOBTRACKER']`|String|e.g. `'jt00'`|`'localhost'`|
36+|`['grid']['gridctl']['env']['TASKTRACKERS']`|String||`'$DATANODES'`|
37+|`['grid']['gridctl']['env']['HISTORYSERVER']`|String||`'localhost'`|
38+|`['grid']['gridctl']['env']['YARN_USER']`|String||`'yarn'`|
39+|`['grid']['gridctl']['env']['RESOURCEMANAGER']`|String|e.g. `'rm00'`|`'localhost'`|
40+|`['grid']['gridctl']['env']['NODEMANAGERS']`|String||`'$DATANODES'`|
41+|`['grid']['gridctl']['env']['HBASE_HOME']`|String|e.g. `'/grid/usr/hbase'`|`''`|
42+|`['grid']['gridctl']['env']['HBASE_USER']`|String||`'hbase'`|
43+|`['grid']['gridctl']['env']['HMASTERS']`|String|e.g. `'hm00 hm01'`|`'localhost'`|
44+|`['grid']['gridctl']['env']['HREGIONSERVERS']`|String|e.g. `'dn00000 dn00001'`|`'localhost'`|
45+|`['grid']['gridctl']['env']['ZOOKEEPER_PREFIX']`|String|e.g. `'/grid/usr/zookeeper'`|`''`|
46+|`['grid']['gridctl']['env']['ZOOCFGDIR']`|String||`'${ZOOKEEPER_PREFIX}/conf'`|
47+|`['grid']['gridctl']['env']['ZOOKEEPER_USER']`|String||`'zookeeper'`|
48+|`['grid']['gridctl']['env']['ZOOKEEPER_PEERS']`|String|e.g. `'zk00 zk01 zk02'`|`'localhost'`|
3649
3750 Usage
3851 -----
3952 #### grid::default
40-TODO: Write usage instructions for each cookbook.
53+- creates fundamental derectories.
4154
42-e.g.
43-Just include `grid` in your node's `run_list`:
55+#### grid::ops-utils
56+- installs the following operational commands.
57+-- dsh_ipass
58+-- gridctl
4459
45-```json
46-{
47- "name":"my_node",
48- "run_list": [
49- "recipe[grid]"
50- ]
51-}
52-```
60+License and Authors
61+-------------------
62+- Author:: whitestar at osdn.jp
5363
54-Contributing
55-------------
56-TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
64+```text
65+Copyright 2013-2016, whitestar
5766
58-e.g.
59-1. Fork the repository on Github
60-2. Create a named feature branch (like `add_component_x`)
61-3. Write you change
62-4. Write tests for your change (if applicable)
63-5. Run the tests, ensuring they all pass
64-6. Submit a Pull Request using Github
67+Licensed under the Apache License, Version 2.0 (the "License");
68+you may not use this file except in compliance with the License.
69+You may obtain a copy of the License at
6570
66-License and Authors
67--------------------
68-Authors: TODO: List authors
71+ http://www.apache.org/licenses/LICENSE-2.0
72+
73+Unless required by applicable law or agreed to in writing, software
74+distributed under the License is distributed on an "AS IS" BASIS,
75+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
76+See the License for the specific language governing permissions and
77+limitations under the License.
78+```
--- a/cookbooks/grid/metadata.rb
+++ b/cookbooks/grid/metadata.rb
@@ -4,4 +4,4 @@ maintainer_email ''
44 license 'Apache 2.0'
55 description 'Installs/Configures grid'
66 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-version '0.1.0'
7+version '0.1.1'
Afficher sur ancien navigateur de dépôt.