1 name 'hbase-pleiades-with-security'
2 description 'Pleiades HBase cluster node with security'
6 'role[nameservice-client-grid]',
11 #env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
13 grid_etc_root = '/grid/etc'
14 grid_vol_root = '/grid/vol'
15 cluster_name = 'pleiades'
16 realm = 'GRID.EXAMPLE.COM'
18 'with_security' => true,
22 'this.cluster.name' => cluster_name,
23 'this.domain' => 'grid.example.com',
24 'this.realm' => realm,
25 'this.keytab.dir' => "#{grid_etc_root}/keytabs/#{cluster_name}",
26 'this.namenode.fqdn' => '${this.cluster.name}-nn.${this.domain}',
27 'hbase.zookeeper.quorum' \
28 => 'zk00.grid.example.com,zk01.grid.example.com,zk02.grid.example.com',
29 'hbase.master.kerberos.principal' => 'hbase/_HOST@${this.realm}',
30 'jaas_master_kerberos_principal' => "hbase/${this.fqdn}@#{realm}",
31 'jaas_regionserver_kerberos_principal' => "hbase/${this.fqdn}@#{realm}"
36 'etc_root' => grid_etc_root,
37 'vol_root' => grid_vol_root,
40 'hbase' => hbase_attributes
43 #override_attributes "apache2" => { "max_children" => "50" }