In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Hbase creates region and builds it according to the division of rowkey:
Create 'BT_NET_LOG_000','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_001','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_002','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_003','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_004','cf' {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_005','cf', {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_006','cf', {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_007','cf', {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_008','cf', {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_009' 'cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_010','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_011','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_012','cf', {SPLITS_FILE = >' splits.txt'} create 'BT_NET_LOG_013','cf' {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_014','cf', {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_015','cf', {SPLITS_FILE = > 'splits.txt'} create' BT_NET_LOG_016','cf', {SPLITS_FILE = > 'splits.txt'}
Contents of the splits.txt file:
0000189005000000000000000000000000000000
0000189010000000000000000000000000000000
0000189015000000000000000000000000000000
0000189020000000000000000000000000000000
0000189025000000000000000000000000000000
0000189030000000000000000000000000000000
0000189035000000000000000000000000000000
0000189040000000000000000000000000000000
0000189045000000000000000000000000000000
0000189050000000000000000000000000000000
0000189055000000000000000000000000000000
The following is to modify the compression of the table:
Create 'BT_NET_LOG_001','cf', {SPLITS_FILE = >' split_500.txt'}
Disable 'BT_NET_LOG_001'
Alter 'BT_NET_LOG_001', NAME = >' cf', COMPRESSION = > 'GZ'
Enable 'BT_NET_LOG_001'
Just change GZ to snappy.
Http://www.itinit.net/thread-1764-1-1.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.