hadoop-ansible/roles/hbase_thrift_config/tasks/main.yml

10 lines
516 B
YAML

---
# hbase thrift crashes if someone sends a packet that violates the thrift protocol
- name: Install the shell script that restarts thrift when it crashes
copy: src=hbase-thrift-status.sh dest=/usr/local/bin/hbase-thrift-status owner=root group=root mode=0555
tags: [ 'hbase', 'thrift', 'configuration' ]
- name: Cron job to restart thrift when it crashes
copy: src=hbase-thrift-status.cron dest=/etc/cron.d/hbase-thrift-status owner=root group=root mode=0444
tags: [ 'hbase', 'thrift', 'configuration' ]