Hbase+hadoop experience sharing-products and technologies

Source: Internet
Author: User
Keywords nbsp; sharing experience and so presently
Hbase+hadoop http://www.aliyun.com/zixun/aggregation/7334.html "> Experience share release time: 2012.04.16 15:21 from: csdn Author: csdn

At present, the system on the line, constantly have new problems, but also constantly summing up some experience, hair here, do mark, but also for hbase users to provide some ideas.

1, a single rowkey can support millions of columns, but it is not recommended to do so, because the real one rowkey hung so much data will be in two places problems, one is the query when the number of Single-line record data is too large, client timeout The second problem is that the process of regionserver the compact may be caused by a single rowkey of data stuffed with memory oom

2, the number of Datanode handler not the default value, too little, to be around 100, the other Regionserver handler the number of 200 or so more appropriate

3, Resultscannser use finished remember to close

4, Htablepool can manage htable. After the end of the query directly with Htablepool.put (Htable T) to reclaim, storage after the end Remember Table.flushcommit () after recycling

5, Mapred.local.dir This parameter is the MapReduce will be on the machine's hard disk to do temporary file storage, if mounted on more than one disk, please match each disk, improve the overall performance

6, the map phase of the output can be configured Lzo compression, which can effectively save the map->reduce phase of network bandwidth, but will increase the CPU occupancy rate

7. Multi-NIC binding can effectively improve the network bandwidth of Hadoop system

8, Bulkload current test performance in a single node 51gb/hour or so, I hope that other students have done to exchange the bulkload aspects of the problem.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.