summaryrefslogtreecommitdiff
path: root/PCAP-PIC/hbase/bin/rsgroup.sh
blob: b1f849620e68bd884af79d4adb85c20f1f137746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

source /etc/profile

hbase shell <<EOF

add_rsgroup 'important'

move_servers_rsgroup 'important',['pcap-dellr740-dt001:16020']

move_servers_rsgroup 'important',['pcap-dellr740-dt002:16020']

flush 'tsg:report_result'

move_tables_rsgroup 'important',['tsg:report_result']

flush 'tsg_galaxy:job_result'

move_tables_rsgroup 'important',['tsg_galaxy:job_result']


EOF