Phoenix Install
Please refer to the Hortonworks documentation.
Show Source Code
module.exports = header: 'Phoenix Client Install', handler: ({options}) ->
Register
Show Source Code
@registry.register 'hdp_select', 'ryba/lib/hdp_select'
@registry.register ['file', 'jaas'], 'ryba/lib/file_jaas'
Packages
Show Source Code
@service name: 'phoenix'
@hdp_select name: 'phoenix-client'
@system.execute
header: 'Hadoop Configuration'
cmd:"""
ln -sf #{options.conf_dir}/core-site.xml /usr/hdp/current/phoenix-client/bin/core-site.xml
"""
unless_exists: '/usr/hdp/current/phoenix-client/bin/core-site.xml'
@system.execute
header: 'HBase Configuration'
cmd:"""
ln -sf #{options.conf_dir}/hbase-site.xml /usr/hdp/current/phoenix-client/bin/hbase-site.xml
"""
unless_exists: '/usr/hdp/current/phoenix-client/bin/hbase-site.xml'