Skip to content

Instantly share code, notes, and snippets.

# (SOURCE - hbase-dev25) Replication 활성화
## Peer 추가
add_peer 'hbase_dev25_hn', CLUSTER_KEY => "hbase-dev25-hn-hm1.hn1dev.krane.9rum.cc,hbase-dev25-hn-hm2.hn1dev.krane.9rum.cc,hbase-dev25-hn-hm3.hn1dev.krane.9rum.cc:2181:/hbase"
## Peer disable
disable_peer 'hbase_dev25_hn'
## Table alter
alter 'cafe:table_alarm_test', {NAME => 'd', REPLICATION_SCOPE => 1}
alter 'chatbot_dev:conversation', {NAME => 'a', REPLICATION_SCOPE => 1}
alter 'chatbot_dev:conversation', {NAME => 'b', REPLICATION_SCOPE => 1}
alter 'chatbot_dev:conversation', {NAME => 's', REPLICATION_SCOPE => 1}